mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2195 (markdown)
@@ -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
|
||||
|
Reference in New Issue
Block a user