We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba3301f commit 9879e2fCopy full SHA for 9879e2f
src/internal/fs.ts
@@ -41,7 +41,7 @@ const close = (fd: number) =>
41
42
export const open = (path: string, flags?: NFS.OpenMode, mode?: NFS.Mode) =>
43
Effect.acquireRelease(unsafeOpen(path, flags, mode), (fd) =>
44
- Effect.ignoreLogged(close(fd))
+ Effect.orDie(close(fd))
45
)
46
47
export const read = (
0 commit comments