aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vaughan Rouesnel <vrouesnel@gmail.com> 2022-11-14 04:41:10 +0100
committerGravatar Vaughan Rouesnel <vrouesnel@gmail.com> 2022-11-14 04:41:10 +0100
commitab5253c030c0ea4b6eff61132d8876c7027acd12 (patch)
tree92ea9f5c9c4db7ee7568ac91750487ae0291ca9f
parent3c8444458fcb243e4efb9eb9898076bd52acd63f (diff)
downloadbun-ab5253c030c0ea4b6eff61132d8876c7027acd12.tar.gz
bun-ab5253c030c0ea4b6eff61132d8876c7027acd12.tar.zst
bun-ab5253c030c0ea4b6eff61132d8876c7027acd12.zip
revert some string format changes
-rw-r--r--src/bun.js/api/bun/subprocess.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bun.js/api/bun/subprocess.zig b/src/bun.js/api/bun/subprocess.zig
index 1dbc045d3..496f7ce72 100644
--- a/src/bun.js/api/bun/subprocess.zig
+++ b/src/bun.js/api/bun/subprocess.zig
@@ -1020,19 +1020,19 @@ pub const Subprocess = struct {
}
const stdin_pipe = if (stdio[0].isPiped()) os.pipe2(0) catch |err| {
- globalThis.throw("failed to create stdin pipe: {s}", .{err});
+ globalThis.throw("failed to create stdin pipe: {any}", .{err});
return .zero;
} else undefined;
errdefer if (stdio[0].isPiped()) destroyPipe(stdin_pipe);
const stdout_pipe = if (stdio[1].isPiped()) os.pipe2(0) catch |err| {
- globalThis.throw("failed to create stdout pipe: {s}", .{err});
+ globalThis.throw("failed to create stdout pipe: {any}", .{err});
return .zero;
} else undefined;
errdefer if (stdio[1].isPiped()) destroyPipe(stdout_pipe);
const stderr_pipe = if (stdio[2].isPiped()) os.pipe2(0) catch |err| {
- globalThis.throw("failed to create stderr pipe: {s}", .{err});
+ globalThis.throw("failed to create stderr pipe: {any}", .{err});
return .zero;
} else undefined;
errdefer if (stdio[2].isPiped()) destroyPipe(stderr_pipe);