Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! fs: deprecate never throw behaviour in fs.existsSync
  • Loading branch information
Ceres6 committed Jan 6, 2025
commit f7136853427a10a495eb8fd6f447bb92ff0679b6
2 changes: 1 addition & 1 deletion lib/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function existsSync(path) {
try {
path = getValidatedPath(path);
} catch {
deprecate(() => {}, 'never throw on invalid arguments for fs.existsSync is deprecated', 'DEP0187');
deprecate(() => {}, 'Passing invalid argument types to fs.existsSync is deprecated', 'DEP0187');
Comment thread
Ceres6 marked this conversation as resolved.
Outdated
return false;
}

Expand Down