Closed linksgo2011 closed 9 years ago
Ok thanks, I need to find the courage to run and debug it on a windows platform one of these days!
I've tested it working with path.sep
for platform agnostic path separators.
var sitename = __filename.split(path.sep).pop().split(".")[0];
I've tested it the proposed change on windows 8, seems to work fine! Thanks Lin. I've pushed it and will do an npm update too.
It does not support the Windows platform