fsStats() minor fix
This commit is contained in:
+3
-3
@@ -491,7 +491,7 @@ function fsStats(callback) {
|
||||
return new Promise((resolve) => {
|
||||
process.nextTick(() => {
|
||||
if (_windows) {
|
||||
resolve(null);
|
||||
return resolve(null);
|
||||
}
|
||||
|
||||
let result = {
|
||||
@@ -633,10 +633,10 @@ function disksIO(callback) {
|
||||
return new Promise((resolve) => {
|
||||
process.nextTick(() => {
|
||||
if (_windows) {
|
||||
resolve(null);
|
||||
return resolve(null);
|
||||
}
|
||||
if (_sunos) {
|
||||
resolve(null);
|
||||
return resolve(null);
|
||||
}
|
||||
|
||||
let result = {
|
||||
|
||||
Reference in New Issue
Block a user