mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-03-12 12:35:25 -07:00
Updated SC2043 (markdown)
parent
db97acd01d
commit
328d5345d8
@ -33,6 +33,8 @@ To iterate over *words* in a variable, instead of `for var in myvariable`, use
|
||||
|
||||
ShellCheck has detected that your for loop iterates over a single, constant value. This is most likely a bug in your code, caused by you not expanding the value in the way you want.
|
||||
|
||||
You should make sure that whatever you loop over will expand into multiple words.
|
||||
|
||||
### Contraindications
|
||||
|
||||
None.
|
Loading…
x
Reference in New Issue
Block a user