Skip to content

Commit

Permalink
chore: Upgrade husky to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldowseza committed Mar 8, 2024
1 parent ae89d82 commit 3993e39
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Section for git-secrets

if ! command -v git-secrets &> /dev/null
if ! command -v git-secrets > /dev/null 2>&1
then
echo "git-secrets is not installed. Please run 'brew install git-secrets' or visit https://github.com/awslabs/git-secrets#installing-git-secrets"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ npx --no-install lint-staged

# Section for git-secrets

if ! command -v git-secrets &> /dev/null
if ! command -v git-secrets > /dev/null 2>&1
then
echo "git-secrets is not installed. Please run 'brew install git-secrets' or visit https://github.com/awslabs/git-secrets#installing-git-secrets"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Section for git-secrets

if ! command -v git-secrets &> /dev/null
if ! command -v git-secrets > /dev/null 2>&1
then
echo "git-secrets is not installed. Please run 'brew install git-secrets' or visit https://github.com/awslabs/git-secrets#installing-git-secrets"
exit 1
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"THIRD_PARTY_LICENSES.txt"
],
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"build": "node postcss.js && tsc",
"lint": "eslint .",
"test": "jest --coverage"
Expand All @@ -36,7 +36,7 @@
"eslint-plugin-header": "3.1.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-unicorn": "^34.0.1",
"husky": "^7.0.0",
"husky": "^9.0.11",
"jest": "^27.4.7",
"lint-staged": "^13.2.1",
"normalize.css": "^8.0.1",
Expand Down

0 comments on commit 3993e39

Please sign in to comment.