We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
chownSync
1 parent 1aea2c1 commit a67ad16Copy full SHA for a67ad16
benchmark/fs/bench-chownSync.js
@@ -5,6 +5,11 @@ const fs = require('fs');
5
const tmpdir = require('../../test/common/tmpdir');
6
tmpdir.refresh();
7
8
+// Windows does not have `getuid` or `getgid`.
9
+if (process.platform === 'win32') {
10
+ return;
11
+}
12
+
13
const tmpfile = tmpdir.resolve(`.existing-file-${process.pid}`);
14
fs.writeFileSync(tmpfile, 'this-is-for-a-benchmark', 'utf8');
15
0 commit comments