diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec1389..00000000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh index ca2720e08aa..5f7c17c20ef 100644 --- a/.husky/_/husky.sh +++ b/.husky/_/husky.sh @@ -23,8 +23,7 @@ if [ -z "$husky_skip_init" ]; then if [ $exitCode != 0 ]; then echo "husky - $hook_name hook exited with code $exitCode (error)" - exit $exitCode fi - exit 0 + exit $exitCode fi diff --git a/package.json b/package.json index 853ba4cd354..997b3879015 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "5.1.0", "eslint-plugin-standard": "5.0.0", - "husky": "6.0.0", + "husky": "7.0.0", "jest": "27.0.6", "json-schema-to-markdown": "1.1.1", "lint-staged": "11.0.0", diff --git a/yarn.lock b/yarn.lock index 0337301767b..200956e56e4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4462,10 +4462,10 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -husky@6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e" - integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ== +husky@7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.0.tgz#3dbd5d28e76234689ee29bb41e048f28e3e46616" + integrity sha512-xK7lO0EtSzfFPiw+oQncQVy/XqV7UVVjxBByc+Iv5iK3yhW9boDoWgvZy3OGo48QKg/hUtZkzz0hi2HXa0kn7w== iconv-lite@0.4.24, iconv-lite@^0.4.24: version "0.4.24"