mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
14 lines
270 B
Bash
Executable File
14 lines
270 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
echo "Running format..."
|
|
npm run format
|
|
|
|
# Re-stage files that format modified so the commit includes the formatted output.
|
|
git diff --name-only | while read -r file; do
|
|
git add "$file"
|
|
done
|
|
|
|
echo "[SKIPPED] Running lint..."
|
|
# npm run lint
|