1
1
mirror of https://github.com/divnix/digga.git synced 2024-11-22 02:27:05 +03:00

♻️ env Add rm-locks to pre-commit

This commit is contained in:
Lord-Valen 2022-12-23 03:24:12 -05:00 committed by David Arnold
parent 440bd820c6
commit 5fefcb1c28
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
result
.direnv
examples/**/flake.lock

View File

@ -11,6 +11,9 @@ diff="git diff-index --name-only --cached $against --diff-filter d"
all_files=($($diff))
# Remove example lock files.
rm-locks
# Format staged files.
if ((${#all_files[@]} != 0)); then
fmt "${all_files[@]}" &&