Skip to content
Snippets Groups Projects
Commit 12c66983 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

chore: better link for skipInstalls

parent 9f978d75
Branches
No related tags found
No related merge requests found
......@@ -335,7 +335,7 @@ export async function extractPackageFile(
let skipInstalls = config.skipInstalls;
if (skipInstalls === null) {
if (hasFileRefs) {
// https://npm.community/t/npm-i-package-lock-only-changes-lock-file-incorrectly-when-file-references-used-in-dependencies/1412
// https://github.com/npm/cli/issues/1432
// Explanation:
// - npm install --package-lock-only is buggy for transitive deps in file: references
// - So we set skipInstalls to false if file: refs are found *and* the user hasn't explicitly set the value already
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment