fsStats() minor fix
This commit is contained in:
parent
bb010817e8
commit
2b9aeae762
@ -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 = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user