mirror of
https://github.com/PhilKes/NotallyX.git
synced 2025-06-28 04:09:54 +00:00
Fix pre-commit git add after ktfmt
This commit is contained in:
parent
e38e14bdd4
commit
231089a7e5
1 changed files with 3 additions and 1 deletions
|
@ -18,6 +18,8 @@ if [ $? -ne 0 ]; then
|
|||
fi
|
||||
|
||||
# Re-stage only the initially staged Kotlin files
|
||||
echo "$initial_staged_files" | xargs git add
|
||||
for file in $initial_staged_files; do
|
||||
git add "$file"
|
||||
done
|
||||
|
||||
echo "Kotlin files formatted"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue