Skip to content

Commit ab00aca

Browse files
committed
fs: deprecate never throw behaviour in fs.existsSync
1 parent bab0e7d commit ab00aca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/fs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ const {
151151
validateString,
152152
kValidateObjectAllowNullable,
153153
} = require('internal/validators');
154+
const { deprecate } = require('internal/util');
154155

155156
const permission = require('internal/process/permission');
156157

0 commit comments

Comments
 (0)