From faf53533ec42bf25fd3efa15118d2081f808dd92 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Fri, 12 Nov 2021 09:59:56 +0100 Subject: [PATCH] bsd: fsStats null result --- lib/filesystem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filesystem.js b/lib/filesystem.js index 818243b..92b3d79 100644 --- a/lib/filesystem.js +++ b/lib/filesystem.js @@ -497,7 +497,7 @@ function fsStats(callback) { return new Promise((resolve) => { process.nextTick(() => { - if (_windows) { + if (_windows || _freebsd || _openbsd || _netbsd || _sunos) { return resolve(null); }