mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Fix release version that the directive will properly work
@@ -15,7 +15,7 @@ Supported directives are `disable` to disable warnings:
|
|||||||
# shellcheck source=src/examples/config.sh
|
# shellcheck source=src/examples/config.sh
|
||||||
. "$(locate_config)"
|
. "$(locate_config)"
|
||||||
|
|
||||||
`shell`, as a top level directive, to specify the shell for a script (similar to the shebang, if you for any reason don't want to add one) (since 0.4.4):
|
`shell`, as a top level directive, to specify the shell for a script (similar to the shebang, if you for any reason don't want to add one) (since [0.4.5](https://github.com/koalaman/shellcheck/issues/581#issuecomment-249437837)):
|
||||||
|
|
||||||
# shellcheck shell=sh
|
# shellcheck shell=sh
|
||||||
echo foo &> bar
|
echo foo &> bar
|
||||||
|
Reference in New Issue
Block a user