diff --git a/index.js b/index.js index 7a130a4..efcbb33 100644 --- a/index.js +++ b/index.js @@ -28,6 +28,7 @@ const run = () => { console.log('DO HOBN MA ' + files.length + ' GSCHICHTLN') files.forEach(file => { + file = path.normalize(file) const content = fs.readFileSync(path.normalize(file), 'utf8') const dir = path.join(currentPath, 'dist') if (!fs.existsSync(dir)) fs.mkdirSync(dir) diff --git a/package.json b/package.json index 9dfd562..4bbff3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wienerscript", - "version": "1.0.1", + "version": "1.0.2", "description": "WienerScript adds syntactic WIENERISCH to JavaScript that makes it less forgiving, more emotional, and even painful to write, allowing you to do less with more code.", "main": "./index.js", "bin": {