Skip to content

Commit 4f588c7

Browse files
Fix restyle
1 parent 881ac01 commit 4f588c7

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

scripts/sdk-doctor/_repo.sh

+20-20
Original file line numberDiff line numberDiff line change
@@ -129,24 +129,24 @@ get_repo_and_branch_info "."
129129

130130
# Handle arguments
131131
case "$1" in
132-
--git-sub)
133-
# Initialize an array to hold the directories
134-
declare -a repo_dirs
135-
136-
cd "$ROOT_DIR"
137-
138-
# Find directories containing a .github folder and store them in the array, excluding the current directory
139-
while IFS= read -r dir; do
140-
# Check if the directory is not the current directory
141-
if [[ "$dir" != "." ]]; then
142-
repo_dirs+=("$dir")
143-
fi
144-
done < <(find . -type d -name .github | awk -F'/[^/]*$' '{print $1}')
145-
146-
# Iterate through the directories and call the function for each
147-
for dir in "${repo_dirs[@]}"; do
148-
get_repo_and_branch_info "$dir"
149-
done
150-
;;
151-
*) ;;
132+
--git-sub)
133+
# Initialize an array to hold the directories
134+
declare -a repo_dirs
135+
136+
cd "$ROOT_DIR"
137+
138+
# Find directories containing a .github folder and store them in the array, excluding the current directory
139+
while IFS= read -r dir; do
140+
# Check if the directory is not the current directory
141+
if [[ "$dir" != "." ]]; then
142+
repo_dirs+=("$dir")
143+
fi
144+
done < <(find . -type d -name .github | awk -F'/[^/]*$' '{print $1}')
145+
146+
# Iterate through the directories and call the function for each
147+
for dir in "${repo_dirs[@]}"; do
148+
get_repo_and_branch_info "$dir"
149+
done
150+
;;
151+
*) ;;
152152
esac

scripts/sdk-doctor/sdk-doctor.sh

+12-12
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,18 @@
136136

137137
# Handle arguments
138138
case "$1" in
139-
--system)
140-
show_system
141-
usage
142-
;;
143-
--complete)
144-
show_system
145-
usage
146-
;;
147-
*)
148-
usage
149-
exit 1
150-
;;
139+
--system)
140+
show_system
141+
usage
142+
;;
143+
--complete)
144+
show_system
145+
usage
146+
;;
147+
*)
148+
usage
149+
exit 1
150+
;;
151151
esac
152152

153153
} 2>&1 | tee sdk-doctor.txt

0 commit comments

Comments
 (0)