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.
linkSync
1 parent 7cecb6e commit da5fcd9Copy full SHA for da5fcd9
benchmark/fs/bench-linkSync.js
@@ -5,6 +5,12 @@ const fs = require('fs');
5
const tmpdir = require('../../test/common/tmpdir');
6
tmpdir.refresh();
7
8
+// Calling `chmodSync` causes Windows build to fail.
9
+// Reference: https://github.com/libuv/libuv/issues/3267
10
+if (process.platform !== 'win32') {
11
+ return;
12
+}
13
+
14
const tmpfile = tmpdir.resolve('.bench-file-data');
15
fs.writeFileSync(tmpfile, 'bench-file', 'utf-8');
16
fs.chmodSync(tmpfile, fs.constants.S_IRUSR);
0 commit comments