| author | |
| committer | |
| log | 0fa89dc51d6bb92f36ceb1399e07aa6f7c1dbd2b |
| tree | 03e378ff1a1df9f57c245d7acbb758e81804a958 |
| parent | f13c67bcfed1c509abd13e83ae36479b793583d2 |
It occured when the manifest file was manually edited to include an extra
file. Now it will simply copy the file name in the manifest file1 files changed, 4 insertions(+), 0 deletions(-)
lib/std/cache_hash.zig+4| ... | ... | @@ -186,6 +186,10 @@ pub const CacheHash = struct { |
| 186 | 186 | return error.InvalidFormat; |
| 187 | 187 | } |
| 188 | 188 | |
| 189 | if (cache_hash_file.path == null) { | |
| 190 | cache_hash_file.path = try mem.dupe(self.alloc, u8, file_path); | |
| 191 | } | |
| 192 | ||
| 189 | 193 | const this_file = fs.cwd().openFile(cache_hash_file.path.?, .{ .read = true }) catch { |
| 190 | 194 | return error.CacheUnavailable; |
| 191 | 195 | }; |