summaryrefslogtreecommitdiffstats
path: root/.husky/pre-commit
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-10-28 06:40:25 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-10-28 06:40:25 +0530
commit976f0f6436106fc96651c55c2e254f21a642fe15 (patch)
tree2032c66c0d31d98b0b55e9a7267146e82f079424 /.husky/pre-commit
parentfix: 'failed prop' warning in QuickSwitchModal, SettingsNavigation, SettingsW... (diff)
downloadferdium-app-976f0f6436106fc96651c55c2e254f21a642fe15.tar.gz
ferdium-app-976f0f6436106fc96651c55c2e254f21a642fe15.tar.zst
ferdium-app-976f0f6436106fc96651c55c2e254f21a642fe15.zip
Revert "Switch from 'npm' to 'pnpm' (#704)"
Diffstat (limited to '.husky/pre-commit')
-rwxr-xr-x.husky/pre-commit5
1 files changed, 2 insertions, 3 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit
index 7595a1196..4936b8e97 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -2,9 +2,8 @@
2 2
3FILE_NAME="$(dirname "$0")/_/husky.sh" 3FILE_NAME="$(dirname "$0")/_/husky.sh"
4 4
5# Conditionally invoke so as to avoid running pnpm commands if this is a clean checkout (ie before installing node modules) 5# Conditionally invoke so as to avoid running npm commands if this is a clean checkout (ie before installing node modules)
6if [ -f $FILE_NAME ]; then 6if [ -f $FILE_NAME ]; then
7 . $FILE_NAME 7 . $FILE_NAME
8 pnpm prepare-code 8 npm run prepare-code
9 pnpm test
10fi 9fi