aboutsummaryrefslogtreecommitdiff
path: root/src/cli/run_command.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/run_command.zig')
-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 0c9145db1..48bbd36d2 100644
--- a/src/cli/run_command.zig
+++ b/src/cli/run_command.zig
@@ -135,7 +135,7 @@ pub const RunCommand = struct {
}
// implicit yarn commands
- if (std.mem.indexOfScalar(u64, yarn_commands, std.hash.Wyhash.hash(0, yarn_cmd)) == null) {
+ if (std.mem.indexOfScalar(u64, yarn_commands, bun.hash(yarn_cmd)) == null) {
try copy_script.appendSlice(BUN_RUN);
try copy_script.append(' ');
try copy_script.appendSlice(yarn_cmd);