Parse assignments according to spec (fixes #2022)

This commit is contained in:
Vidar Holen
2020-08-23 18:46:13 -07:00
parent fb89cdf4ad
commit c9be7ab2eb
2 changed files with 60 additions and 36 deletions

View File

@@ -11,6 +11,7 @@
is still purely cosmetic and does not allow ShellCheck to continue.
### Changed
- Assignments are now parsed to spec, without leniency for leading $ or spaces
- SC1090: A leading `$x/` or `$(x)/` is now treated as `./` when locating files
- SC2154: Variables appearing in -z/-n tests are no longer considered unassigned