Skip to content

Commit 92a84c0

Browse files
author
Illia Obukhau
authored
fix(web-widgets): windows issue with commit lint (#438)
2 parents e4a27b2 + 22940e7 commit 92a84c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
pnpm --filter @mendix/scripts run root-script:commitlint
4+
pnpm --filter @mendix/scripts run root-script:commitlint --edit "$1"

automation/scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"lint:enableme": "eslint . --ext .mjs",
1818
"format": "prettier --write .",
1919
"root-script:format-staged": "pretty-quick --staged --config \"./.prettierrc.cjs\" --pattern \"**/{src,script,typings,test,**}/**/*.{cjs,mjs,js,jsx,ts,tsx,scss,html,xml,md,json}\"",
20-
"root-script:commitlint": "npx --no -- commitlint --edit ${1}"
20+
"root-script:commitlint": "commitlint"
2121
},
2222
"dependencies": {
2323
"@commitlint/cli": "^17.4.4",

0 commit comments

Comments
 (0)