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

fix(docker-compose): service validity check

parent a12ef53b
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ export function extractPackageFile(
// Image name/tags for services are only eligible for update if they don't
// use variables and if the image is not built locally
const deps = Object.values(config.services || {})
.filter(service => service.image && !service.build)
.filter(service => service && service.image && !service.build)
.map(service => {
const dep = getDep(service.image);
const lineNumber = lineMapper.pluckLineNumber(service.image);
......
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