Skip to content

Commit 0585dc1

Browse files
shellcheck reported issue in this script: SC2001:style:3:17
Fixes #181
1 parent e30e62e commit 0585dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: |
8585
OUTPUT="$(snyk container test ${{ matrix.tag }} --file=${{ matrix.dockerfile }} --severity-threshold=high --fail-on=all || true)"
8686
# ANSIエスケープコードを削除
87-
CLEAN_OUTPUT="$(echo "$OUTPUT" | sed 's/\x1b\[[0-9;]*m//g')"
87+
CLEAN_OUTPUT="${OUTPUT//$'\x1b\['[0-9;]*m/}"
8888
{
8989
echo "CLI_OUTPUT<<EOF"
9090
echo "${CLEAN_OUTPUT}"

0 commit comments

Comments
 (0)