You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most likely the linked code needs to be updated to:
if(isDirectory&&!options.recursive){thrownewERR_FS_EISDIR({code: "EISDIR",message: "is a directory",
path,syscall: "rm",errno: osConstants.errno.EISDIR,});}
The error that I see.
error: ReferenceError: EISDIR is not defined
return fs.rmSync(path, { ...options });
^
at __node_internal_ (ext:deno_node/internal/fs/utils.mjs:894:18)
at Object.rmSync (ext:deno_node/_fs/_fs_rm.ts:27:13)
at removeSync (file:///{redacted}/gnomejs/fs/node/mod.ts:494:15)
at file:///{redacted}/gnomejs/fs/move_node_test.ts:246:3
(I can work around it by setting options.force, however, this seems like a bug).
The text was updated successfully, but these errors were encountered:
Version: Deno 1.42.4
The following code is resulting in an error
see: https://github.com/denoland/deno/blob/main/ext/node/polyfills/internal/fs/utils.mjs
Most likely the linked code needs to be updated to:
The error that I see.
(I can work around it by setting options.force, however, this seems like a bug).
The text was updated successfully, but these errors were encountered: