Skip to content

Commit 5125d97

Browse files
committed
Fixed Bash coding style.
1 parent fff5c25 commit 5125d97

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/actions/check-artifact-content/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ runs:
3939
ANSI_LIGHT_RED=$'\x1b[91m'
4040
ANSI_LIGHT_GREEN=$'\x1b[92m'
4141
ANSI_LIGHT_YELLOW=$'\x1b[93m'
42-
ANSI_LIGHT_BLUE="\e[94m"
42+
ANSI_LIGHT_BLUE=$'\x1b[94m'
4343
ANSI_NOCOLOR=$'\x1b[0m'
4444
4545
printf "::group::${ANSI_LIGHT_BLUE}List directory content ...${ANSI_NOCOLOR}\n"

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ runs:
128128
ANSI_LIGHT_RED=$'\x1b[91m'
129129
ANSI_LIGHT_GREEN=$'\x1b[92m'
130130
ANSI_LIGHT_YELLOW=$'\x1b[93m'
131-
ANSI_LIGHT_BLUE="\e[94m"
131+
ANSI_LIGHT_BLUE=$'\x1b[94m'
132132
ANSI_NOCOLOR=$'\x1b[0m'
133133
134134
if ! [[ "${{ runner.os }}" == "macOS" || "${{ runner.os }}" == "Linux" || "${{ runner.os }}" == "Windows" ]]; then
@@ -204,7 +204,7 @@ runs:
204204
printf "::group::${ANSI_LIGHT_BLUE}List all pattern for '${tarProg}' ...${ANSI_NOCOLOR}\n"
205205
while IFS=$'\r\n' read -r pattern; do
206206
printf " %s\n" "${pattern}"
207-
done <<<$(print_files_unique "${PATTERNS[@]}")
207+
done < <(print_files_unique "${PATTERNS[@]}")
208208
printf "::endgroup::\n"
209209
210210
printf "%s\n" "Checking ${tarProg} ($(which ${tarProg})): ${ANSI_CYAN}$(${tarProg} --version | head -n 1)${ANSI_NOCOLOR}"
@@ -256,7 +256,7 @@ runs:
256256
ANSI_LIGHT_RED=$'\x1b[91m'
257257
ANSI_LIGHT_GREEN=$'\x1b[92m'
258258
ANSI_LIGHT_YELLOW=$'\x1b[93m'
259-
ANSI_LIGHT_BLUE="\e[94m"
259+
ANSI_LIGHT_BLUE=$'\x1b[94m'
260260
ANSI_NOCOLOR=$'\x1b[0m'
261261
262262
if [[ "${{ runner.os }}" == "macOS" ]]; then
@@ -284,7 +284,7 @@ runs:
284284
ANSI_LIGHT_RED=$'\x1b[91m'
285285
ANSI_LIGHT_GREEN=$'\x1b[92m'
286286
ANSI_LIGHT_YELLOW=$'\x1b[93m'
287-
ANSI_LIGHT_BLUE="\e[94m"
287+
ANSI_LIGHT_BLUE=$'\x1b[94m'
288288
ANSI_NOCOLOR=$'\x1b[0m'
289289
290290
if [[ "${{ runner.os }}" == "macOS" ]]; then
@@ -327,7 +327,7 @@ runs:
327327
ANSI_LIGHT_RED=$'\x1b[91m'
328328
ANSI_LIGHT_GREEN=$'\x1b[92m'
329329
ANSI_LIGHT_YELLOW=$'\x1b[93m'
330-
ANSI_LIGHT_BLUE="\e[94m"
330+
ANSI_LIGHT_BLUE=$'\x1b[94m'
331331
ANSI_NOCOLOR=$'\x1b[0m'
332332
333333
printf "%s" "Removing temporary tarball ... "

0 commit comments

Comments
 (0)