| ... | ... | @@ -783,7 +783,7 @@ fn runResource( |
| 783 | 783 | f.package_root = try ls.pkg_root.join(arena, computed_package_hash.toSlice()); |
| 784 | 784 | renameTmpIntoCache(io, package_sub_path, f.package_root) catch |err| { |
| 785 | 785 | try eb.addRootErrorMessage(.{ .msg = try eb.printString( |
| 786 | | "failed renaming temporary directory {f} into package cache directory {f}: {t}", |
| 786 | "failed to rename temporary directory {f} into package cache directory {f}: {t}", |
| 787 | 787 | .{ package_sub_path, f.package_root, err }, |
| 788 | 788 | ) }); |
| 789 | 789 | return error.FetchFailed; |
| ... | ... | @@ -803,7 +803,7 @@ fn runResource( |
| 803 | 803 | if (!package_sub_path.eql(tmp_directory_path)) { |
| 804 | 804 | tmp_directory_path.root_dir.handle.deleteDir(io, tmp_directory_path.sub_path) catch |err| switch (err) { |
| 805 | 805 | error.Canceled => |e| return e, |
| 806 | | else => |e| log.warn("failed deleting temporary directory {f}: {t}", .{ tmp_directory_path, e }), |
| 806 | else => |e| log.warn("failed to delete temporary directory {f}: {t}", .{ tmp_directory_path, e }), |
| 807 | 807 | }; |
| 808 | 808 | } |
| 809 | 809 | |
| ... | ... | @@ -827,7 +827,7 @@ fn runResource( |
| 827 | 827 | }); |
| 828 | 828 | const notes_start = try eb.reserveNotes(notes_len); |
| 829 | 829 | eb.extra.items[notes_start] = @intFromEnum(try eb.addErrorMessage(.{ |
| 830 | | .msg = try eb.printString("expected .hash = \"{s}\",", .{computed_package_hash.toSlice()}), |
| 830 | .msg = try eb.printString("expected .hash = {q},", .{computed_package_hash.toSlice()}), |
| 831 | 831 | })); |
| 832 | 832 | return error.FetchFailed; |
| 833 | 833 | } |