actions-test/hooks/pre-commit

5 lines
93 B
Text
Raw Normal View History

2023-12-22 20:27:26 +01:00
git_dir=$(git rev-parse --git-dir)
project_dir=$(dirname $git_dir)
dart format $project_dir