diff --git a/src/bun.js/VirtualMachine.zig b/src/bun.js/VirtualMachine.zig index 09c09bc1f4..90a121aab3 100644 --- a/src/bun.js/VirtualMachine.zig +++ b/src/bun.js/VirtualMachine.zig @@ -1677,7 +1677,7 @@ fn _resolve( ); }; - // Only re-query if we previously had something cached, or if it's main. + // Only re-query if we previously had something cached. if (jsc_vm.transpiler.resolver.bustDirCache(bun.strings.withoutTrailingSlashWindowsPath(buster_name))) { continue; } diff --git a/src/bun.js/hot_reloader.zig b/src/bun.js/hot_reloader.zig index da75d0f968..a612252d3b 100644 --- a/src/bun.js/hot_reloader.zig +++ b/src/bun.js/hot_reloader.zig @@ -434,7 +434,7 @@ pub fn NewHotReloader(comptime Ctx: type, comptime EventLoopType: type, comptime var affected_i: usize = 0; // if a file descriptor is stale, we need to close it - if ((event.op.delete) and entries_option != null) { + if (event.op.delete and entries_option != null) { for (parents, 0..) |parent_hash, entry_id| { if (parent_hash == current_hash) { const affected_path = file_paths[entry_id];