Skip to content

Commit

Permalink
Update subprocess.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Dec 25, 2024
1 parent ed3795a commit 9458f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bun.js/api/bun/subprocess.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 9458f01

Please sign in to comment.