mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
fix!: do not lookup cwd in which (#9691)
* do not lookup cwd in which * fix webkit submodule * fix compilation on linux * feedback
This commit is contained in:
@@ -716,7 +716,6 @@ pub const StandaloneModuleGraph = struct {
|
||||
if (bun.which(
|
||||
&whichbuf,
|
||||
bun.getenvZ("PATH") orelse return error.FileNotFound,
|
||||
"",
|
||||
bun.argv()[0],
|
||||
)) |path| {
|
||||
return bun.toFD((try std.fs.cwd().openFileZ(path, .{})).handle);
|
||||
|
||||
Reference in New Issue
Block a user