From ef43d1f951eea4a38bc063b5cb416dd97aaf0052 Mon Sep 17 00:00:00 2001 From: merceyz Date: Wed, 7 Oct 2020 20:31:45 +0200 Subject: [PATCH] fix: temp disable binjumper --- packages/yarnpkg-core/sources/scriptUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/yarnpkg-core/sources/scriptUtils.ts b/packages/yarnpkg-core/sources/scriptUtils.ts index f5d1236d8f3b..301c1ce116a6 100644 --- a/packages/yarnpkg-core/sources/scriptUtils.ts +++ b/packages/yarnpkg-core/sources/scriptUtils.ts @@ -31,8 +31,8 @@ enum PackageManager { async function makePathWrapper(location: PortablePath, name: Filename, argv0: NativePath, args: Array = []) { if (process.platform === `win32`) { await Promise.all([ - xfs.writeFilePromise(ppath.format({dir: location, name, ext: `.exe`}), getBinjumper()), - xfs.writeFilePromise(ppath.format({dir: location, name, ext: `.exe.info`}), [argv0, ...args].join(`\n`)), + // xfs.writeFilePromise(ppath.format({dir: location, name, ext: `.exe`}), getBinjumper()), + // xfs.writeFilePromise(ppath.format({dir: location, name, ext: `.exe.info`}), [argv0, ...args].join(`\n`)), xfs.writeFilePromise(ppath.format({dir: location, name, ext: `.cmd`}), `@"${argv0}" ${args.map(arg => `"${arg.replace(`"`, `""`)}"`).join(` `)} %*\n`), ]); }