also looking at this
fix(ci): build the SDK types with the repo's own tsc (and pin the pantry action)
#104
29 files
+85
-56
| @@ -432,7 +432,7 @@ pub const DialogBridge = struct { | ||
| 432 | 432 | if (comptime builtin.mode == .debug) |
| 433 | 433 | std.debug.print("[DialogBridge] Selected file: {s}\n", .{path_str}); |
| 434 | 434 | |
| 435 | var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 }; | |
| 435 | var buf: std.ArrayList(u8) = .empty; | |
| 436 | 436 | defer buf.deinit(self.allocator); |
| 437 | 437 | |
| 438 | 438 | try buf.appendSlice(self.allocator, "{\"canceled\":false,\"filePaths\":[\""); |
| @@ -502,7 +502,7 @@ pub const DialogBridge = struct { | ||
| 502 | 502 | if (comptime builtin.mode == .debug) |
| 503 | 503 | std.debug.print("[DialogBridge] Selected {d} files\n", .{count}); |
| 504 | 504 | |
| 505 | var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 }; | |
| 505 | var buf: std.ArrayList(u8) = .empty; | |
| 506 | 506 | defer buf.deinit(self.allocator); |
| 507 | 507 | |
| 508 | 508 | try buf.appendSlice(self.allocator, "{\"canceled\":false,\"filePaths\":["); |
| @@ -581,7 +581,7 @@ pub const DialogBridge = struct { | ||
| 581 | 581 | if (comptime builtin.mode == .debug) |
| 582 | 582 | std.debug.print("[DialogBridge] Selected folder: {s}\n", .{path_str}); |
| 583 | 583 | |
| 584 | var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 }; | |
| 584 | var buf: std.ArrayList(u8) = .empty; | |
| 585 | 585 | defer buf.deinit(self.allocator); |
| 586 | 586 | |
| 587 | 587 | try buf.appendSlice(self.allocator, "{\"canceled\":false,\"filePaths\":[\""); |
| @@ -645,7 +645,7 @@ pub const DialogBridge = struct { | ||
| 645 | 645 | if (comptime builtin.mode == .debug) |
| 646 | 646 | std.debug.print("[DialogBridge] Save path: {s}\n", .{path_str}); |
| 647 | 647 | |
| 648 | var buf: std.ArrayList(u8) = .{ .items = &.{}, .capacity = 0 }; | |
| 648 | var buf: std.ArrayList(u8) = .empty; | |
| 649 | 649 | defer buf.deinit(self.allocator); |
| 650 | 650 | |
| 651 | 651 | try buf.appendSlice(self.allocator, "{\"canceled\":false,\"filePath\":\""); |