Fix incorrect comptime conditional

This commit is contained in:
Jarred Sumner
2025-07-01 20:33:34 -07:00
parent 7f55b1af55
commit e1ec32caea

View File

@@ -192,7 +192,7 @@ pub fn read(this: *INotifyWatcher) bun.JSC.Maybe([]const *align(1) Event) {
this.eventlist_ptrs[count] = event;
i += event.size();
count += 1;
if (!Environment.enable_logs)
if (Environment.enable_logs)
log("{} read event {} {} {} {}", .{
this.fd,
event.watch_descriptor,