Skip to content

Commit

Permalink
Fix --prefix argument: should be --prefix-path
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasJayanth committed Jul 13, 2024
1 parent aa03d63 commit a843d39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180456,9 +180456,7 @@ function getEsyDownloadArtifactsMeta(alternativeEsyNPMPackage) {
return { name, tarballUrl, shasum, version };
}
function runEsyCommand(name, args) {
if (args[0] !== "npm-release" && args[0] !== "release") {
args.push(`--prefix=${esyPrefix}`);
}
args.push(`--prefix-path=${esyPrefix}`);
return run(name, "esy", manifestKey ? [`@${manifestKey}`, ...args] : args);
}
function computeChecksum(filePath, algo) {
Expand Down
4 changes: 1 addition & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ function getEsyDownloadArtifactsMeta(
}

function runEsyCommand(name: string, args: string[]) {
if (args[0] !== "npm-release" && args[0] !== "release") {
args.push(`--prefix=${esyPrefix}`);
}
args.push(`--prefix-path=${esyPrefix}`);
return run(name, "esy", manifestKey ? [`@${manifestKey}`, ...args] : args);
}

Expand Down

0 comments on commit a843d39

Please sign in to comment.