From 9458f01b26b7e1ce8d25298214627badcc6e3766 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Wed, 25 Dec 2024 14:13:19 -0800 Subject: [PATCH] Update subprocess.zig --- src/bun.js/api/bun/subprocess.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bun.js/api/bun/subprocess.zig b/src/bun.js/api/bun/subprocess.zig index e670a2cd72c74e..d6a5e9848c0254 100644 --- a/src/bun.js/api/bun/subprocess.zig +++ b/src/bun.js/api/bun/subprocess.zig @@ -1850,7 +1850,7 @@ pub const Subprocess = struct { defer arg.deref(); // if the string is empty, ignore it, don't add it to the argv - if (arg.len == 0) { + if (arg.isEmpty()) { continue; } argv.appendAssumeCapacity(try arg.toOwnedSliceZ(allocator));