From 48689ade281d2ca568cbcca4b5652adeac3b7602 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sun, 12 Oct 2025 21:15:15 -0700 Subject: [PATCH] cleanup --- src/bun.js/VirtualMachine.zig | 2 +- src/bun.js/hot_reloader.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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];