Skip to content

Commit

Permalink
Merge pull request #182 from ShotaroMatsuya/ShotaroMatsuya/issue181
Browse files Browse the repository at this point in the history
shellcheck reported issue in this script: SC2001:style:3:17
  • Loading branch information
ShotaroMatsuya authored Dec 3, 2023
2 parents e30e62e + 0585dc1 commit ab7384d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
run: |
OUTPUT="$(snyk container test ${{ matrix.tag }} --file=${{ matrix.dockerfile }} --severity-threshold=high --fail-on=all || true)"
# ANSIエスケープコードを削除
CLEAN_OUTPUT="$(echo "$OUTPUT" | sed 's/\x1b\[[0-9;]*m//g')"
CLEAN_OUTPUT="${OUTPUT//$'\x1b\['[0-9;]*m/}"
{
echo "CLI_OUTPUT<<EOF"
echo "${CLEAN_OUTPUT}"
Expand Down

0 comments on commit ab7384d

Please sign in to comment.