fsStats() minor fix

This commit is contained in:
Sebastian Hildebrandt 2021-05-04 16:06:08 +02:00
parent bb010817e8
commit 2b9aeae762

View File

@ -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 = {