Skip to content
Snippets Groups Projects
Commit 088279ab authored by eMerzh's avatar eMerzh Committed by Rhys Arkins
Browse files

fix: return shrinkwrapdir to avoid crash (#1621)

parent 463d0558
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,12 @@ function determineLockFileDirs(config) {
shrinkwrapYamlDirs.push(dirname);
}
}
return { packageLockFileDirs, yarnLockFileDirs, shrinkwrapYamlDirs };
return {
packageLockFileDirs,
npmShrinkwrapDirs,
yarnLockFileDirs,
shrinkwrapYamlDirs,
};
}
}
......
......@@ -2,6 +2,9 @@
exports[`workers/branch/lock-files determineLockFileDirs returns all directories if lock file maintenance 1`] = `
Object {
"npmShrinkwrapDirs": Array [
"leftend",
],
"packageLockFileDirs": Array [
"backend",
],
......
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