Skip to content

Commit

Permalink
fix: use execute, not execute-local
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Besson committed Nov 20, 2024
1 parent 0e05754 commit c035921
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 @@ -3442,7 +3442,7 @@ async function run() {
core.setFailed('Could not detect package manager');
return;
}
const { command, args } = (0, package_manager_detector_1.resolveCommand)(pkgMgr.agent, 'execute-local', ['update-browserslist-db@latest']);
const { command, args } = (0, package_manager_detector_1.resolveCommand)(pkgMgr.agent, 'execute', ['update-browserslist-db@latest']);
await (0, exec_1.exec)(command, args, {
listeners: {
stdout: (data) => {
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async function run(): Promise<void> {
core.setFailed('Could not detect package manager');
return;
}
const { command, args } = resolveCommand(pkgMgr.agent, 'execute-local', ['update-browserslist-db@latest'])!;
const { command, args } = resolveCommand(pkgMgr.agent, 'execute', ['update-browserslist-db@latest'])!;
await exec(command, args, {
listeners: {
stdout: (data: Buffer) => {
Expand Down

0 comments on commit c035921

Please sign in to comment.