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 <rhys@arkins.net>
  • Loading branch information
gmelillo and rarkins committed Jan 30, 2020
1 parent 45abfd3 commit 63e6c75
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/manager/helmfile/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ export function extractPackageFile(
currentValue: dep.version,
registryUrls: [aliases[repoName]]
.concat([config.aliases[repoName]])
.filter((v, _) => {
return v != null;
}),
.filter(Boolean),
};

if (res.depName.includes('{') || res.depName.includes('}')) {
Expand Down

0 comments on commit 63e6c75

Please sign in to comment.