Files
AdventureLog/.githooks/pre-commit
2026-06-06 18:59:42 -04:00

9 lines
126 B
Bash
Executable File

#!/bin/sh
set -e
repo_root="$(git rev-parse --show-toplevel)"
cd "$repo_root/frontend"
pnpm run format --write
git add -u .