diff options
author | 2023-04-24 17:55:34 -0700 | |
---|---|---|
committer | 2023-04-24 17:55:34 -0700 | |
commit | e9e76450487d3fd173bdc372b65aaf436247b83f (patch) | |
tree | 8be801e429b77443393908f94595841392b4320e /src | |
parent | f2112fc0de3fd2d8cea674990be6f5ff2bd11061 (diff) | |
download | bun-e9e76450487d3fd173bdc372b65aaf436247b83f.tar.gz bun-e9e76450487d3fd173bdc372b65aaf436247b83f.tar.zst bun-e9e76450487d3fd173bdc372b65aaf436247b83f.zip |
In `bun run`, rewrite usages of `npx` to `bun x` instead of `bunx` to workaround missing symlink
Diffstat (limited to 'src')
-rw-r--r-- | src/cli/run_command.zig | 2 |
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; |