Skip to content

Commit 5c62451

Browse files
Finished all the scripts
1 parent 14caad1 commit 5c62451

1 file changed

Lines changed: 15 additions & 16 deletions

File tree

scripts/auto_fix_all.sh

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ if [[ "$DRY_RUN" == "true" ]]; then
3030
echo "1. Comment spacing fixes"
3131
echo "2. TODO format fixes"
3232
echo "3. One-line if brace removal"
33-
echo "4. File/directory renaming"
34-
echo "5. Dart formatting"
33+
echo "4. Dart formatting"
3534
echo
3635
exit 0
3736
fi
@@ -63,16 +62,16 @@ else
6362
fi
6463
echo
6564

66-
echo "🔍 4. Fixing file and directory naming..."
67-
if bash scripts/file_dir_snake_case.sh --fix; then
68-
echo "✅ File/directory naming fixes completed"
69-
fixes_applied=$((fixes_applied + 1))
70-
else
71-
echo "❌ File/directory naming fixes failed"
72-
fi
73-
echo
65+
# echo "🔍 4. Fixing file and directory naming..."
66+
# if bash scripts/file_dir_snake_case.sh --fix; then
67+
# echo "✅ File/directory naming fixes completed"
68+
# fixes_applied=$((fixes_applied + 1))
69+
# else
70+
# echo "❌ File/directory naming fixes failed"
71+
# fi
72+
# echo
7473

75-
echo "🎨 5. Running dart format..."
74+
echo "🔍 4. Running dart format..."
7675
if bash scripts/dart_format_files.sh; then
7776
echo "✅ Dart formatting completed"
7877
else
@@ -81,18 +80,18 @@ fi
8180
echo
8281

8382
echo "==============================="
84-
echo "🎯 Auto-fix Summary"
83+
echo "Auto-fix Summary"
8584
echo "==============================="
8685
echo "Fix operations completed: $fixes_applied/4"
8786
echo
8887

8988
if [[ $fixes_applied -gt 0 ]]; then
90-
echo "📊 Changes made - you can now commit them:"
89+
echo "Changes made - you can now commit them:"
9190
echo " git add -A"
9291
echo " git commit -m 'Auto-fix: Code quality improvements'"
9392
echo
9493

95-
echo "🔍 Final quality check..."
94+
echo "Final quality check..."
9695
echo
9796

9897
echo "Comment spacing status:"
@@ -107,8 +106,8 @@ if [[ $fixes_applied -gt 0 ]]; then
107106
bash scripts/no_braces_one_line_if.sh | tail -2
108107
echo
109108

110-
echo "File/directory naming status:"
111-
bash scripts/file_dir_snake_case.sh | tail -2
109+
# echo "File/directory naming status:"
110+
# bash scripts/file_dir_snake_case.sh | tail -2
112111
else
113112
echo "No fixes were needed or all fixes failed."
114113
fi

0 commit comments

Comments
 (0)