mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2086 (markdown)
@@ -79,4 +79,8 @@ debug=""
|
|||||||
bash ${debug:+"-x"} script
|
bash ${debug:+"-x"} script
|
||||||
```
|
```
|
||||||
|
|
||||||
This is better than an unquoted value because the alternative value can be properly quoted, e.g. `wget ${output:+ -o "$output"}`.
|
This is better than an unquoted value because the alternative value can be properly quoted, e.g. `wget ${output:+ -o "$output"}`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
As always, this warning can be [[ignore]]d on a case-by-case basis.
|
Reference in New Issue
Block a user