wChunk windows fix

This commit is contained in:
Pooya Parsa 2017-11-22 01:04:17 +03:30
parent 4451178c99
commit 8550bcd684
No known key found for this signature in database
GPG Key ID: C3C77C557D8883CD

View File

@ -107,7 +107,7 @@ export function wp(p = '') {
export function wChunk(p = '') {
/* istanbul ignore if */
if (isWindows) {
return p.replace(/\\/g, '/')
return p.replace(/\//g, '_')
}
return p
}