config: adjust pre-commit script to run prettier and not prettier:write since the written changes are not staged

This commit is contained in:
Xymorot 2019-10-12 03:51:18 +02:00
parent 0bec8a8a76
commit 47a164169d
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
"forge:start": "electron-forge start",
"forge:make": "electron-forge --platform win32 --arch x64 make",
"forge": "npm run build && npm run forge:make",
"precommit": "npm run prettier:write && npm run eslint-check && npm run tslint-check && npm run lint && npm run test:fast",
"precommit": "npm run prettier && npm run eslint-check && npm run tslint-check && npm run lint && npm run test:fast",
"prepush": "npm run test"
},
"dependencies": {