Merge pull request #2788 from khassel/husky

This commit is contained in:
Michael Teeuw 2022-01-19 20:04:41 +01:00 committed by GitHub
commit d181365620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,7 @@
#!/bin/sh #!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run lint:staged [ -f "$(dirname "$0")/_/husky.sh" ] && . "$(dirname "$0")/_/husky.sh"
if command -v npm &> /dev/null; then
npm run lint:staged
fi

View File

@ -26,6 +26,7 @@ _This release is scheduled to be released on 2022-04-01._
### Fixed ### Fixed
- improved and speedup e2e tests, artificial wait after mm start removed. - improved and speedup e2e tests, artificial wait after mm start removed.
- improved husky setup not blocking `git commit` if `husky` or `npm` is not installed.
## [2.18.0] - 2022-01-01 ## [2.18.0] - 2022-01-01