actions-test/hooks/pre-commit
2023-12-22 20:45:12 +01:00

4 lines
93 B
Text
Executable file

git_dir=$(git rev-parse --git-dir)
project_dir=$(dirname $git_dir)
dart format $project_dir