Skip to content

Commit

Permalink
fix-#462: Updated requirement file, backend & frontend .env.sample wi…
Browse files Browse the repository at this point in the history
…th Google auth, Redis installation updated pre-commit file
  • Loading branch information
574n13y committed Aug 13, 2024
1 parent 864c4ac commit 2cf9768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# Source the Husky script
source "$(dirname -- "$0")/_/husky.sh"
. "$(dirname -- "$0")/_/husky.sh"

# Run Prettier on frontend files
cd frontend || { echo "Failed to change directory to frontend"; exit 1; }
Expand All @@ -13,4 +13,3 @@ cd ../backend || { echo "Failed to change directory to backend"; exit 1; }
echo "[BACKEND] Running the prettier format for you."
npx lint-staged


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"prepare": "husky install && chmod ug+x .husky/*"
},
"devDependencies": {
"husky": "^8.0.0"
"husky": "^8.0.3"
}
}

0 comments on commit 2cf9768

Please sign in to comment.