diff --git a/doc/api/fs.md b/doc/api/fs.md index 9ed072ad1e4871..cfa654a3671b3a 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1949,7 +1949,7 @@ Node.js callbacks. `fs.existsSync()` does not use a callback. ```js if (fs.existsSync('/etc/passwd')) { - console.log('The file exists.'); + console.log('The path exists.'); } ```