Fix formatting
This commit is contained in:
@@ -12,6 +12,12 @@ idx=1
|
||||
total=$(echo "$files" | wc -l)
|
||||
for file in $files; do
|
||||
echo "Processing file $idx / $total"
|
||||
latexindent -s -w $file
|
||||
((idx++))
|
||||
latexindent -s -w -l $file
|
||||
idx=$((idx + 1))
|
||||
done
|
||||
|
||||
echo "Cleaning up..."
|
||||
backups=$(find . -type f | grep "\.bak")
|
||||
for backup in $backups; do
|
||||
rm $backup
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user