Skip to content

Commit

Permalink
fix: temp disable binjumper
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Nov 30, 2020
1 parent 6b9df77 commit ef43d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/yarnpkg-core/sources/scriptUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ enum PackageManager {
async function makePathWrapper(location: PortablePath, name: Filename, argv0: NativePath, args: Array<string> = []) {
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`),
]);
}
Expand Down

0 comments on commit ef43d1f

Please sign in to comment.