Skip to content

Commit

Permalink
fix(github-actions): defensive non-null check
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jan 17, 2023
1 parent 5dc806b commit 142bebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/manager/github-actions/extract.ts
Expand Up @@ -105,7 +105,7 @@ function extractWithYAMLParser(
}

for (const job of Object.values(pkg?.jobs ?? {})) {
const dep = extractContainer(job.container);
const dep = extractContainer(job?.container);
if (dep) {
dep.depType = 'container';
deps.push(dep);
Expand Down

0 comments on commit 142bebc

Please sign in to comment.