mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-10 05:56:26 +00:00
Work around istanbul issue
This commit is contained in:
parent
96fd373ed8
commit
7eed106edf
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ export function extractPackageFile(
|
|||
}
|
||||
|
||||
// skip all locked nodes which are not in the flake.nix and cannot be updated
|
||||
// istanbul ignore next: a valid flake.lock file will never run into this
|
||||
if (!(depName in (flakeLock.nodes['root'].inputs ?? []))) {
|
||||
const rootInputs = flakeLock.nodes['root'].inputs;
|
||||
if (!rootInputs || !(depName in rootInputs)) {
|
||||
logger.debug(
|
||||
{ packageLockFile, error: flakeLockParsed.error },
|
||||
`invalid flake.lock file because cannot find "root" node`,
|
||||
|
|
Loading…
Reference in a new issue