We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80b342c commit 835f9feCopy full SHA for 835f9fe
lib/fs.js
@@ -131,7 +131,7 @@ const {
131
CHAR_BACKWARD_SLASH,
132
} = require('internal/constants');
133
const {
134
- isUint32,
+ isInt32,
135
parseFileMode,
136
validateBoolean,
137
validateBuffer,
@@ -201,7 +201,7 @@ function makeStatsCallback(cb) {
201
};
202
}
203
204
-const isFd = isUint32;
+const isFd = isInt32;
205
206
function isFileType(stats, fileType) {
207
// Use stats array directly to avoid creating an fs.Stats instance just for
0 commit comments