mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 18:48:16 -07:00
Improve warnings for bad parameter expansion (fixes #2297)
This commit is contained in:
parent
fed4a048bc
commit
bb0a571a1e
3 changed files with 80 additions and 15 deletions
|
@ -6,6 +6,7 @@
|
|||
- SC2292: Suggest [[ over [ in Bash/Ksh scripts (optional)
|
||||
- SC2293/SC2294: Warn when calling `eval` with arrays
|
||||
- SC2295: Warn about "${x#$y}" treating $y as a pattern when not quoted
|
||||
- SC2296-SC2301: Improved warnings for bad parameter expansions
|
||||
|
||||
### Fixed
|
||||
- SC2102 about repetitions in ranges no longer triggers on [[ -v arr[xx] ]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue