Skip to content
This repository was archived by the owner on Feb 18, 2021. It is now read-only.

Commit f76f338

Browse files
mtabernakontrollanten
authored andcommitted
fix(package): fix husky cross-compatibility and update params
Husky updates changed env. params and argument call, see https://github.com/marionebl/commitlint/issues/319#issue-318569827 and https://github.com/marionebl/commitlint/pull/343
1 parent f4d82d6 commit f76f338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"build:main": "webpack --config config/webpack.main.js",
9393
"build": "npm run build:renderer && npm run build:main",
9494
"build:prod": "cross-env NAME=production npm run build",
95-
"commitmsg": "commitlint --config config/commitlint.config.js -e $GIT_PARAMS",
95+
"commitmsg": "commitlint --config config/commitlint.config.js -E HUSKY_GIT_PARAMS",
9696
"release": "electron-builder -p onTagOrDraft",
9797
"dist": "electron-builder",
9898
"lint": "npm run lint:js && npm run lint:style",

0 commit comments

Comments
 (0)