Updated SC2104 (markdown)

Eisuke Kawashima
2025-07-29 20:41:45 +09:00
parent f76882ef60
commit 2019eb4496

@@ -2,7 +2,7 @@
### Problematic code:
```sh
```bash
foo() {
if [[ -z $1 ]]
then
@@ -14,7 +14,7 @@ foo() {
### Correct code:
```sh
```bash
foo() {
if [[ -z $1 ]]
then
@@ -31,7 +31,7 @@ foo() {
The `break` or `continue` may be intended for a loop that calls the function:
```
```sh
# Rarely valid
foo() { break; echo $?; }
while true; do foo; done