diff --git a/SC2195.md b/SC2195.md index d18fe69..63c94ca 100644 --- a/SC2195.md +++ b/SC2195.md @@ -25,7 +25,7 @@ For more examples of when this could happen, see [SC2193](https://github.com/koa Note that ShellCheck warns about individual patterns in a branch, and will flag `*.png` in this example even though the branch is not dead: -``` +```sh case "${img}.jpg" in *.png | *.jpg) echo "It's an image" esac