Skip to content

Commit

Permalink
fix(helm-values): ignore duplicate keys in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Feb 6, 2020
1 parent 99c2b38 commit f49e7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/manager/helm-values/extract.ts
Expand Up @@ -40,7 +40,7 @@ export function extractPackageFile(content: string): PackageFile {
try {
// a parser that allows extracting line numbers would be preferable, with
// the current approach we need to match anything we find again during the update
const parsedContent = yaml.safeLoad(content);
const parsedContent = yaml.safeLoad(content, { json: true });

logger.debug(
{ parsedContent },
Expand Down

0 comments on commit f49e7e5

Please sign in to comment.