yarn2nix: fix running without --no-patch

This commit is contained in:
Yureka 2021-10-14 18:44:57 +02:00
parent 74b8c41027
commit 30aeeaded4

View file

@ -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)