Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Commit 7e106bb

Browse files
mcibiquemafintosh
authored andcommitted
Add more special characters for windows. (#63)
1 parent b79d82a commit 7e106bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var echo = function (name) {
1515
}
1616

1717
var normalize = !win32 ? echo : function (name) {
18-
return name.replace(/\\/g, '/').replace(/:/g, '_')
18+
return name.replace(/\\/g, '/').replace(/[:?<>|]/g, '_')
1919
}
2020

2121
var statAll = function (fs, stat, cwd, ignore, entries, sort) {

0 commit comments

Comments
 (0)