Skip to content

Commit 4377ff0

Browse files
committed
refactor(pre-commit): streamline script by replacing shell commands with composer commands
1 parent e118581 commit 4377ff0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
set -e # this makes the script fail on first error
44

5-
chmod +x bin/fix.sh && ./bin/fix.sh
6-
chmod +x bin/lint.sh && ./bin/lint.sh
5+
composer fix
6+
composer lint
77
php artisan test || true

0 commit comments

Comments
 (0)