Closed amelon closed 11 years ago
parent path resolution breaks in windows
Using / on 'resolved' path in windows doesn't work as path is like 'c:\path\to\base'
/
replace base.substr(0, base.lastIndexOf("/")) with resolve(base, '..')
base.substr(0, base.lastIndexOf("/"))
resolve(base, '..')
@creationix
parent path resolution breaks in windows
Using
/
on 'resolved' path in windows doesn't work as path is like 'c:\path\to\base'replace
base.substr(0, base.lastIndexOf("/"))
withresolve(base, '..')