mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
seems like you want to keep the double quotes though, not omit them
parent
4bdb1bc40c
commit
47a7f1a11d
@@ -9,7 +9,7 @@ export foo="$(mycmd)"
|
||||
### Correct code:
|
||||
|
||||
```sh
|
||||
foo=$(mycmd)
|
||||
foo="$(mycmd)"
|
||||
export foo
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user