mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-10 05:56:26 +00:00
Log missing root node
This commit is contained in:
parent
870297a7c8
commit
23a0c059f6
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ export function extractPackageFile(
|
|||
// skip all locked nodes which are not in the flake.nix and cannot be updated
|
||||
// istanbul ignore if: a valid flake.lock file will never run into this
|
||||
if (!(depName in (flakeLock.nodes['root'].inputs ?? []))) {
|
||||
logger.debug(
|
||||
{ packageLockFile, error: flakeLockParsed.error },
|
||||
`invalid flake.lock file because cannot find "root" node`,
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue