Updated SC2148 (markdown)

Vidar Holen
2021-07-23 11:16:06 -07:00
parent ab7843624d
commit 8312746732

@@ -32,8 +32,6 @@ If you for any reason can't or won't add a shebang, there are multiple other way
* Use a shellcheck [[directive]], adding `# shellcheck shell=ksh` before the first command in the file. * Use a shellcheck [[directive]], adding `# shellcheck shell=ksh` before the first command in the file.
* Give the script a `.bash`, `.ksh` or `.dash` extension (`.sh` will not assume `--shell=sh` since it's so generic) * Give the script a `.bash`, `.ksh` or `.dash` extension (`.sh` will not assume `--shell=sh` since it's so generic)
Note that this error can not be ignored with a [[directive]]. It is not a suggestion to improve your script, but a warning that ShellCheck lacks information it needs to be helpful.
### Exceptions ### Exceptions
None. Please either add a shebang, directive, extension or use `-s`. None. Please either add a shebang, directive, extension or use `-s` to maximize ShellCheck's usefulness.