Skip to content

Commit 4629119

Browse files
committed
try runPackageManagerCommand for scripts
1 parent 8c8a2e7 commit 4629119

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

actions/unjs/oxfmt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ export default defineAction({
5656
await utils.addDevDependency("oxfmt");
5757

5858
// Run oxfmt to format the codebase
59-
await utils.runScript("oxfmt --write .");
59+
await utils.runPackageManagerCommand("oxfmt --write .");
6060
},
6161
});

actions/unjs/oxlint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@ export default defineAction({
7474
});
7575

7676
// Run oxlint --fix to apply fixes
77-
await utils.runScript("oxlint --fix");
77+
await utils.runPackageManagerCommand("oxlint --fix");
7878
},
7979
});

0 commit comments

Comments
 (0)