mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
Updated SC2091 (markdown)
@@ -15,7 +15,7 @@ or
|
||||
make_command() {
|
||||
printf 'cat header %q footer > %q\n' "$1" "$2" | tee log
|
||||
}
|
||||
$(make_command)
|
||||
$(make_command foo.html output/foo.html)
|
||||
```
|
||||
|
||||
### Correct code:
|
||||
@@ -33,7 +33,7 @@ or
|
||||
make_command() {
|
||||
printf 'cat header %q footer > %q\n' "$1" "$2" | tee log
|
||||
}
|
||||
eval "$(make_command)"
|
||||
eval "$(make_command foo.html output/foo.html)"
|
||||
```
|
||||
### Rationale:
|
||||
|
||||
|
Reference in New Issue
Block a user