Support env -S/--split-string in shebangs (fixes #2105)

This commit is contained in:
Vidar Holen
2020-12-12 20:24:32 -08:00
parent 6ba1af0898
commit cc3884cf9f
3 changed files with 13 additions and 3 deletions

View File

@@ -13,6 +13,7 @@
- SC1072/SC1073 now respond to disable annotations, though ignoring parse errors
is still purely cosmetic and does not allow ShellCheck to continue.
- Improved error reporting for trailing tokens after ]/]] and compound commands
- `#!/usr/bin/env -S shell` is now handled correctly
### Changed
- Assignments are now parsed to spec, without leniency for leading $ or spaces