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.
1 parent c837758 commit e2d55e7Copy full SHA for e2d55e7
test/map.js
@@ -25,7 +25,7 @@ const find = (folder, set = [], root = true) => {
25
if (!root) {
26
return
27
}
28
- return set.map(f => f.substr(folder.length + 1)
+ return set.map(f => f.slice(folder.length + 1)
29
.replace(/\\/g, '/'))
30
.sort((a, b) => a.localeCompare(b))
31
0 commit comments