mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
refactor: ban std.debug.assert (#10168)
* Ban `std.debug.assert` * Create .clangd * Update lint.yml * Update linter.ts * update * lint * Update linter.ts * Update linter.ts * update * Update linter.ts * update * Update linter.ts * more * Update install.zig * words * Remove UB
This commit is contained in:
@@ -1714,7 +1714,7 @@ pub const Command = struct {
|
||||
.RunAsNodeCommand => {
|
||||
if (comptime bun.fast_debug_build_mode and bun.fast_debug_build_cmd != .RunAsNodeCommand) unreachable;
|
||||
const ctx = try Command.Context.create(allocator, log, .RunAsNodeCommand);
|
||||
std.debug.assert(pretend_to_be_node);
|
||||
bun.assert(pretend_to_be_node);
|
||||
try RunCommand.execAsIfNode(ctx);
|
||||
},
|
||||
.UpgradeCommand => {
|
||||
|
||||
Reference in New Issue
Block a user