Skip to content

Commit

Permalink
Prepend --prefix-path. Not append
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasJayanth committed Jun 25, 2024
1 parent a22c6f6 commit 9ab2b57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -176081,7 +176081,7 @@ function run(name, command, args) {
});
}
function runEsyCommand(name, args) {
args.push(`--prefix=${esyPrefix}`);
args.unshift(`--prefix=${esyPrefix}`);
return run(name, "esy", manifestKey ? [`@${manifestKey}`, ...args] : args);
}
const index_platform = external_os_.platform();
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function run(name: string, command: string, args: string[]) {
}

function runEsyCommand(name: string, args: string[]) {
args.push(`--prefix=${esyPrefix}`);
args.unshift(`--prefix=${esyPrefix}`);
return run(name, "esy", manifestKey ? [`@${manifestKey}`, ...args] : args);
}

Expand Down

0 comments on commit 9ab2b57

Please sign in to comment.