yarn2nix: fix "rev is not defined" (#141207)
Must have slipped in when incorporating comments on #136922
This commit is contained in:
parent
f7d3aec5ef
commit
4c7e1a10b4
@ -89,7 +89,7 @@ function fetchLockedDep(builtinFetchGit) {
|
|||||||
|
|
||||||
const [_, branch] = nameWithVersion.split('#')
|
const [_, branch] = nameWithVersion.split('#')
|
||||||
|
|
||||||
return fetchgit(fileName, githubUrl, rev, branch || 'master', builtinFetchGit)
|
return fetchgit(fileName, githubUrl, githubRev, branch || 'master', builtinFetchGit)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (url.startsWith('git+') || url.startsWith("git:")) {
|
if (url.startsWith('git+') || url.startsWith("git:")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user