This commit is contained in:
Kirill Chernyshov 2019-10-07 13:16:56 +02:00
parent fab6f52f8c
commit b819076512
No known key found for this signature in database
GPG Key ID: 425B3AB78FBCFBDB
2 changed files with 2 additions and 9 deletions

View File

@ -37,12 +37,5 @@
"prettier": "^1.17.1",
"ts-jest": "^24.0.2",
"typescript": "^3.5.1"
},
"husky": {
"skipCI": true,
"hooks": {
"pre-commit": "npm run build && npm run format",
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
}
}
}

View File

@ -89,8 +89,8 @@ async function installLeiningen(
if (IS_WINDOWS) {
await readWriteAsync(
path.join(binDir, 'lein.bat'),
'!LEIN_HOME!\\self-installs\\leiningen-!LEIN_VERSION!-standalone.jar',
'!LEIN_LIB_DIR!\\libexec\\leiningen-standalone.jar'
'!LEIN_HOME!\self-installs\leiningen-!LEIN_VERSION!-standalone.jar',
'!LEIN_LIB_DIR!\libexec\leiningen-standalone.jar'
);
} else {
await readWriteAsync(