Skip to content

Commit d62ddbe

Browse files
vsemozhetbytMylesBorins
authored andcommitted
benchmark: fix fs\bench-realpathSync.js
Make it call-site-cwd-independent. PR-URL: #11904 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 85eb1bc commit d62ddbe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

benchmark/fs/bench-realpathSync.js

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
const common = require('../common');
44
const fs = require('fs');
55
const path = require('path');
6+
7+
process.chdir(__dirname);
68
const resolved_path = path.resolve(__dirname, '../../lib/');
79
const relative_path = path.relative(__dirname, '../../lib/');
810

0 commit comments

Comments
 (0)