Skip to content

Commit aca01d8

Browse files
committed
cdp: use .zig-cache to save js script debug files
1 parent 6a0b154 commit aca01d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdp/runtime.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn logInspector(cmd: anytype, action: anytype) !void {
109109
const id = cmd.input.id orelse return error.RequiredId;
110110
const name = try std.fmt.allocPrint(cmd.arena, "id_{d}.js", .{id});
111111

112-
var dir = try std.fs.cwd().makeOpenPath("zig-cache/tmp", .{});
112+
var dir = try std.fs.cwd().makeOpenPath(".zig-cache/tmp", .{});
113113
defer dir.close();
114114

115115
const f = try dir.createFile(name, .{});

0 commit comments

Comments
 (0)