mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 04:49:06 +00:00
fix replacing node:module._resolveFilename not passing the parent module (#7993)
* fix replacing node:module._resolveFilename * add a test
This commit is contained in:
@@ -1087,7 +1087,7 @@ pub const String = extern struct {
|
||||
}
|
||||
|
||||
pub fn eqlUTF8(this: String, other: []const u8) bool {
|
||||
return this.toZigString().eql(ZigString.initUTF8(other));
|
||||
return this.toZigString().eql(ZigString.fromUTF8(other));
|
||||
}
|
||||
|
||||
pub fn eql(this: String, other: String) bool {
|
||||
|
||||
Reference in New Issue
Block a user