mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
chore(zig): add a new lint for using bun.FD.cwd() (#10683)
This commit is contained in:
@@ -563,7 +563,7 @@ pub const StandaloneModuleGraph = struct {
|
||||
|
||||
bun.C.moveFileZWithHandle(
|
||||
fd,
|
||||
bun.toFD(std.fs.cwd().fd),
|
||||
bun.FD.cwd(),
|
||||
bun.sliceTo(&(try std.os.toPosixPath(temp_location)), 0),
|
||||
bun.toFD(root_dir.fd),
|
||||
bun.sliceTo(&(try std.os.toPosixPath(std.fs.path.basename(outfile))), 0),
|
||||
|
||||
Reference in New Issue
Block a user