Skip to content

Commit 8aadcce

Browse files
committed
Convert each double space to tab
1 parent db593d3 commit 8aadcce

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scripts/dev/quickgogen.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@ function private_gogen() {
3939
IFS=$'\n' read -d '' -r -a gofiles < <(
4040
printf '%s\n' "${changed_files[@]}" |
4141
grep '\.go$'
42-
)
43-
[[ "${#gofiles[@]}" == 0 ]] && return 0
42+
)
43+
[[ "${#gofiles[@]}" == 0 ]] && return 0
4444

45-
IFS=$'\n' read -d '' -r -a godirs < <(
45+
IFS=$'\n' read -d '' -r -a godirs < <(
4646
for f in "${gofiles[@]}"; do dirname "$f"; done |
47-
sort | uniq)
47+
sort | uniq)
4848

4949
einfo "Running go generate..."
5050
for dir in "${godirs[@]}"; do
51-
einfo "...Generating for ${dir}"
52-
( cd "$dir" && go generate "./" ) && (( status == 0 ))
53-
status=$?
51+
einfo "...Generating for ${dir}"
52+
( cd "$dir" && go generate "./" ) && (( status == 0 ))
53+
status=$?
5454
done
5555

5656
return "${status}"

0 commit comments

Comments
 (0)