aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cli/run_command.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/run_command.zig b/src/cli/run_command.zig
index 6b02d825b..b2b5cf0e9 100644
--- a/src/cli/run_command.zig
+++ b/src/cli/run_command.zig
@@ -171,7 +171,7 @@ pub const RunCommand = struct {
}
if (strings.hasPrefixComptime(script[start..], "npx ")) {
- try copy_script.appendSlice("bunx" ++ " ");
+ try copy_script.appendSlice(BUN_BIN_NAME ++ " x ");
entry_i += "npx ".len;
delimiter = 0;
continue;