We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1b13b3 commit 319612bCopy full SHA for 319612b
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