We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0c66d2 commit 18f0f50Copy full SHA for 18f0f50
test/parallel/test-path-resolve.js
@@ -13,7 +13,7 @@ const posixyCwd = common.isWindows ?
13
(() => {
14
const _ = process.cwd()
15
.replaceAll(path.sep, path.posix.sep);
16
- return _.substr(_.indexOf(path.posix.sep));
+ return _.slice(_.indexOf(path.posix.sep));
17
})() :
18
process.cwd();
19
0 commit comments