Skip to content

Commit e30e62e

Browse files
Merge pull request #180 from ShotaroMatsuya/feat_github_action_lint
revert: CLEAN_OUTPUT
2 parents bb8f11b + bae36c1 commit e30e62e

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="${OUTPUT//$'\x1b\['[0-9;]*m/}"
87+
CLEAN_OUTPUT="$(echo "$OUTPUT" | sed 's/\x1b\[[0-9;]*m//g')"
8888
{
8989
echo "CLI_OUTPUT<<EOF"
9090
echo "${CLEAN_OUTPUT}"

0 commit comments

Comments
 (0)