We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents edbc7b2 + 2bcc3b9 commit 9732e51Copy full SHA for 9732e51
1 file changed
pkgs/build-support/node/fetch-yarn-deps/common.js
@@ -5,7 +5,9 @@ const path = require('path')
5
const urlToName = url => {
6
const isCodeloadGitTarballUrl = url.startsWith('https://codeload.github.com/') && url.includes('/tar.gz/')
7
8
- if (url.startsWith('git+') || isCodeloadGitTarballUrl) {
+ if (url.startsWith('file:')) {
9
+ return url
10
+ } else if (url.startsWith('git+') || isCodeloadGitTarballUrl) {
11
return path.basename(url)
12
} else {
13
return url
0 commit comments