mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
[bun upgrade] Implement --canary and BUN_CANARY=1
This commit is contained in:
@@ -78,7 +78,7 @@ pub inline fn containsComptime(self: string, comptime str: string) bool {
|
||||
pub const includes = contains;
|
||||
|
||||
pub inline fn containsAny(in: anytype, target: string) bool {
|
||||
for (in) |str| if (contains(str, target)) return true;
|
||||
for (in) |str| if (contains(bun.span(str), target)) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user