mirror of
https://github.com/pichsenmeister/WienerScript.git
synced 2025-03-10 15:49:05 +01:00
fix issue #3 - wrong path on windows CMD
This commit is contained in:
parent
f16da31dd7
commit
3f66d59192
2 changed files with 2 additions and 1 deletions
1
index.js
1
index.js
|
@ -28,6 +28,7 @@ const run = () => {
|
||||||
console.log('DO HOBN MA ' + files.length + ' GSCHICHTLN')
|
console.log('DO HOBN MA ' + files.length + ' GSCHICHTLN')
|
||||||
|
|
||||||
files.forEach(file => {
|
files.forEach(file => {
|
||||||
|
file = path.normalize(file)
|
||||||
const content = fs.readFileSync(path.normalize(file), 'utf8')
|
const content = fs.readFileSync(path.normalize(file), 'utf8')
|
||||||
const dir = path.join(currentPath, 'dist')
|
const dir = path.join(currentPath, 'dist')
|
||||||
if (!fs.existsSync(dir)) fs.mkdirSync(dir)
|
if (!fs.existsSync(dir)) fs.mkdirSync(dir)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "wienerscript",
|
"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.",
|
"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",
|
"main": "./index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
Loading…
Reference in a new issue