yarn2nix: fix "rev is not defined" (#141207)

Must have slipped in when incorporating comments on #136922
This commit is contained in:
Yuka 2021-10-10 23:30:24 +02:00 committed by GitHub
parent f7d3aec5ef
commit 4c7e1a10b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ function fetchLockedDep(builtinFetchGit) {
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:")) {