Fix incorrect negation of isEmpty() in assertion (#20952)

This commit is contained in:
taylor.fish
2025-07-10 15:34:46 -07:00
committed by GitHub
parent 5a1a3b425c
commit c6bce38ead

View File

@@ -56,7 +56,7 @@ pub const StatWatcherScheduler = struct {
}
fn deinit(this: *StatWatcherScheduler) void {
bun.assertf(!this.watchers.isEmpty(), "destroying StatWatcherScheduler while it still has watchers", .{});
bun.assertf(this.watchers.isEmpty(), "destroying StatWatcherScheduler while it still has watchers", .{});
bun.destroy(this);
}