Skip to content

Commit

Permalink
husky2
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-Ainapure committed Oct 4, 2024
1 parent 0d73ff3 commit 71c34d5
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/prepush → .husky/pre-push
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ if [ $? -ne 0 ]; then
fi

echo "Type-check passed! Proceeding with push..."
sh .husky/pre-push
2 changes: 1 addition & 1 deletion frontend/src/appComponents/ClubRegistration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const ClubRegistration: React.FC = () => {
console.log(response);
setDisplayModal(true);
handleClick();
} catch (e) {
} catch (e:any) {
alert("Error: " + e.message);
console.log(e);
return;
Expand Down
30 changes: 30 additions & 0 deletions package-lock.json

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

11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "dypcetclubs-root",
"private": true,
"version": "0.0.0",
"scripts": {
"prepare": "husky install"
},
"devDependencies": {
"husky": "^8.0.3"
}
}

0 comments on commit 71c34d5

Please sign in to comment.