Skip to content

Commit

Permalink
fix(docker-compose): return early if null
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Aug 14, 2019
1 parent a60bcd1 commit 1d7baa0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/manager/docker-compose/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export function extractPackageFile(
{ fileName, content },
'Null config when parsing Docker Compose content'
);
return null;
}
} catch (err) {
logger.warn({ fileName, err }, 'Parsing Docker Compose config YAML');
Expand Down

0 comments on commit 1d7baa0

Please sign in to comment.