aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-09 14:05:46 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-06-04 18:54:26 -0700
commitfde3b7fbb698923f4464af2441c71b8e8411a340 (patch)
treef7f8a48c846a79e0405c1c05f2983c727f3962a5
parentc16e7693832a40dbed5c9e0adf6e255e877fa564 (diff)
downloadbun-fde3b7fbb698923f4464af2441c71b8e8411a340.tar.gz
bun-fde3b7fbb698923f4464af2441c71b8e8411a340.tar.zst
bun-fde3b7fbb698923f4464af2441c71b8e8411a340.zip
Fix build
-rw-r--r--src/cli.zig3
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);