Skip to content

Commit

Permalink
Update pre commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
nkshah2 committed Jun 2, 2022
1 parent 67cdc7f commit 364753d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hooks/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ then
git stash drop >/dev/null 2>/dev/null
fi

if [ $compiles -eq 0 ] && [ $formatted -eq 0 ] && [ $circDep -eq 0 ] && [ $dotOnly -eq 1 ] && [ $linted -eq 0 ]
if [ $compiles -eq 0 ] && [ $formatted -eq 0 ] && [ $circDep -eq 0 ] && [ $dotOnly -eq 1 ] && [ $linted -eq 0 ] && [ $pruned -eq 0 ]
then
echo "$(tput setaf 2)... done. Proceeding with commit.$(tput sgr 0)"
echo ""
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test-unit": "TEST_MODE=testing npx mocha 'test/unit/*.test.js'",
"test": "npm run test-unit",
"build-docs": "rm -rf ./docs && npx typedoc --out ./docs --tsconfig ./lib/tsconfig.json ./lib/ts/index.ts ./lib/ts/**/index.ts ./lib/ts/**/*/index.ts",
"prune": "cd lib && ts-prune | grep -vE 'used in module| - default$| - package_version$|getSuperTokensRoutesForReactRouterDom$' && exit 1 || exit 0"
"prune": "cd lib && ts-prune | grep -vE 'used in module| - default$| - package_version$|init$' && exit 1 || exit 0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 364753d

Please sign in to comment.