Skip to content

Commit

Permalink
refactor(helm): make filter more clean
Browse files Browse the repository at this point in the history
Co-Authored-By: Rhys Arkins <[email protected]>
  • Loading branch information
gmelillo and rarkins authored Jan 30, 2020
1 parent 45abfd3 commit 51ef1c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/manager/helmfile/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function extractPackageFile(
currentValue: dep.version,
registryUrls: [aliases[repoName]]
.concat([config.aliases[repoName]])
.filter((v, _) => {
.filter(Boolean);
return v != null;
}),
};
Expand Down

0 comments on commit 51ef1c4

Please sign in to comment.