diff --git a/ext/node/polyfills/internal/fs/utils.mjs b/ext/node/polyfills/internal/fs/utils.mjs index 09169127d2..a1823bb328 100644 --- a/ext/node/polyfills/internal/fs/utils.mjs +++ b/ext/node/polyfills/internal/fs/utils.mjs @@ -891,7 +891,7 @@ export const validateRmOptionsSync = hideStackFrames( message: "is a directory", path, syscall: "rm", - errno: EISDIR, + errno: osConstants.errno.EISDIR, }); } }