Remove fs.exists() console spam
This commit is contained in:
parent
5218057d80
commit
0e75661b4b
|
@ -1925,7 +1925,6 @@ function exists(fs, context, path, callback) {
|
||||||
function cb(err) {
|
function cb(err) {
|
||||||
callback(err ? false : true);
|
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);
|
stat(fs, context, path, cb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue