| ... | @@ -182,8 +182,10 @@ pub const CacheHash = struct { | ... | @@ -182,8 +182,10 @@ pub const CacheHash = struct { |
| 182 | if (file_path.len == 0) { | 182 | if (file_path.len == 0) { |
| 183 | return error.InvalidFormat; | 183 | return error.InvalidFormat; |
| 184 | } | 184 | } |
| 185 | if (cache_hash_file.path != null and !mem.eql(u8, file_path, cache_hash_file.path.?)) { | 185 | if (cache_hash_file.path) |p| { |
| 186 | return error.InvalidFormat; | 186 | if (!mem.eql(u8, file_path, p)) { |
| | 187 | return error.InvalidFormat; |
| | 188 | } |
| 187 | } | 189 | } |
| 188 | | 190 | |
| 189 | if (cache_hash_file.path == null) { | 191 | if (cache_hash_file.path == null) { |