Remove fs.exists() console spam

This commit is contained in:
chen yuzhou 2018-12-04 17:30:48 -05:00 committed by David Humphrey
parent 5218057d80
commit 0e75661b4b
1 changed files with 0 additions and 1 deletions

View File

@ -1925,7 +1925,6 @@ function exists(fs, context, path, callback) {
function cb(err) {
callback(err ? false : true);
}
console.warn('This method is deprecated. For more details see https://nodejs.org/api/fs.html#fs_fs_exists_path_callback');// eslint-disable-line no-console
stat(fs, context, path, cb);
}