diff options
author | 2023-05-09 14:05:46 -0700 | |
---|---|---|
committer | 2023-06-04 18:54:26 -0700 | |
commit | fde3b7fbb698923f4464af2441c71b8e8411a340 (patch) | |
tree | f7f8a48c846a79e0405c1c05f2983c727f3962a5 | |
parent | c16e7693832a40dbed5c9e0adf6e255e877fa564 (diff) | |
download | bun-fde3b7fbb698923f4464af2441c71b8e8411a340.tar.gz bun-fde3b7fbb698923f4464af2441c71b8e8411a340.tar.zst bun-fde3b7fbb698923f4464af2441c71b8e8411a340.zip |
Fix build
-rw-r--r-- | src/cli.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cli.zig b/src/cli.zig index 08320fde8..b2ae948b3 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -687,7 +687,8 @@ pub const Arguments = struct { // const ResolveMatcher = strings.ExactSizeMatcher(8); opts.resolve = Api.ResolveMode.lazy; - ctx.debug.inspect_break = args.flag("--inspect-brk"); + if (comptime cmd == .RunCommand or cmd == .AutoCommand or cmd == .TestCommand) + ctx.debug.inspect_break = args.flag("--inspect-brk"); const TargetMatcher = strings.ExactSizeMatcher(8); |