yarn2nix: fix running without --no-patch
commit30aeeaded47d4e246941147acaa357d1605ad486
authorYureka <yuka@yuka.dev>
dateThu 14 Oct 2021, 18:44 (5 years ago)
parent74b8c41
pkgs/development/tools/yarn2nix-moretea/yarn2nix/bin/yarn2nix.js+1−1
@@ -63,7 +63,7 @@ let pkgs = R.pipe(
6363
6464;(async () => {
6565 if (!options['--no-patch']) {
66− pkgs = await R.map(fixPkgAddMissingSha1, pkgs)
66+ pkgs = await Promise.all(R.map(fixPkgAddMissingSha1, pkgs))
6767 }
6868
6969 const origJson = lockfile.parse(data)