Skip to content
Snippets Groups Projects
Commit f49e7e5d authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(helm-values): ignore duplicate keys in yaml

parent 99c2b38e
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ export function extractPackageFile(content: string): PackageFile { ...@@ -40,7 +40,7 @@ export function extractPackageFile(content: string): PackageFile {
try { try {
// a parser that allows extracting line numbers would be preferable, with // 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 // 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( logger.debug(
{ parsedContent }, { parsedContent },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment