Loading pkgs/build-support/node/fetch-yarn-deps/index.js +9 −8 Original line number Diff line number Diff line Loading @@ -88,13 +88,14 @@ const isGitUrl = pattern => { } const downloadPkg = (pkg, verbose) => { const fileMarker = '@file:' const split = pkg.key.split(fileMarker) for (let marker of ['@file:', '@link:']) { const split = pkg.key.split(marker) if (split.length == 2) { console.info(`ignoring lockfile entry "${split[0]}" which points at path "${split[1]}"`) return } else if (split.length > 2) { throw new Error(`The lockfile entry key "${pkg.key}" contains "${fileMarker}" more than once. Processing is not implemented.`) throw new Error(`The lockfile entry key "${pkg.key}" contains "${marker}" more than once. Processing is not implemented.`) } } if (pkg.resolved === undefined) { Loading Loading
pkgs/build-support/node/fetch-yarn-deps/index.js +9 −8 Original line number Diff line number Diff line Loading @@ -88,13 +88,14 @@ const isGitUrl = pattern => { } const downloadPkg = (pkg, verbose) => { const fileMarker = '@file:' const split = pkg.key.split(fileMarker) for (let marker of ['@file:', '@link:']) { const split = pkg.key.split(marker) if (split.length == 2) { console.info(`ignoring lockfile entry "${split[0]}" which points at path "${split[1]}"`) return } else if (split.length > 2) { throw new Error(`The lockfile entry key "${pkg.key}" contains "${fileMarker}" more than once. Processing is not implemented.`) throw new Error(`The lockfile entry key "${pkg.key}" contains "${marker}" more than once. Processing is not implemented.`) } } if (pkg.resolved === undefined) { Loading