forked from mirrors/nixpkgs
yarn2nix: fix running without --no-patch
This commit is contained in:
parent
74b8c41027
commit
30aeeaded4
|
@ -63,7 +63,7 @@ let pkgs = R.pipe(
|
|||
|
||||
;(async () => {
|
||||
if (!options['--no-patch']) {
|
||||
pkgs = await R.map(fixPkgAddMissingSha1, pkgs)
|
||||
pkgs = await Promise.all(R.map(fixPkgAddMissingSha1, pkgs))
|
||||
}
|
||||
|
||||
const origJson = lockfile.parse(data)
|
||||
|
|
Loading…
Reference in a new issue