mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 08:36:26 +00:00
fix(github-actions): defensive non-null check
This commit is contained in:
parent
5dc806bb8b
commit
142bebc1eb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue