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

fix(docker-compose): allow duplicate keys when passing yaml

Closes #4287
parent 72404706
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ export function extractPackageFile(
logger.debug('docker-compose.extractPackageFile()');
let config: DockerComposeConfig;
try {
config = safeLoad(content);
config = safeLoad(content, { json: true });
// istanbul ignore if
if (!config) {
logger.info(
......
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