Skip to content

Commit

Permalink
fix(docker-compose): allow duplicate keys when passing yaml
Browse files Browse the repository at this point in the history
Closes #4287
  • Loading branch information
rarkins committed Aug 14, 2019
1 parent 7240470 commit a60bcd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/manager/docker-compose/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit a60bcd1

Please sign in to comment.