From 2019eb44969940b1c5b707eaa9e2de9fb6280b24 Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima Date: Tue, 29 Jul 2025 20:41:45 +0900 Subject: [PATCH] Updated SC2104 (markdown) --- SC2104.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SC2104.md b/SC2104.md index af6a3a3..14408c0 100644 --- a/SC2104.md +++ b/SC2104.md @@ -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