Skip to content

Commit

Permalink
Re-build dist/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasJayanth committed Jun 26, 2024
1 parent f31190c commit e36b081
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions 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.unshift(`--prefix=${esyPrefix}`);
args.push(`--prefix=${esyPrefix}`);
return run(name, "esy", manifestKey ? [`@${manifestKey}`, ...args] : args);
}
const index_platform = external_os_.platform();
Expand Down Expand Up @@ -176132,9 +176132,12 @@ function main() {
yield cache.saveCache(depsPath, buildKey);
}
// TODO: support cleanup + manifest
if (!manifestKey && !buildCacheKey) {
yield runEsyCommand("Run esy cleanup", ["cleanup", "."]);
}
// Need to improve how subcommands are called
// --prefix after cleanup subcommand doesn't work
// --prefix prepended doesn't work with any other sub-command
// if (!manifestKey && !buildCacheKey) {
// await runEsyCommand("Run esy cleanup", ["cleanup", "."]);
// }
}
catch (error) {
if (error instanceof Error) {
Expand Down

0 comments on commit e36b081

Please sign in to comment.