mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-11 22:02:37 +08:00
Add $# to list of variables not containing spaces (fixes #1362)
This commit is contained in:
@@ -39,7 +39,7 @@ internalVariables = [
|
||||
]
|
||||
|
||||
variablesWithoutSpaces = [
|
||||
"$", "-", "?", "!",
|
||||
"$", "-", "?", "!", "#",
|
||||
"BASHPID", "BASH_ARGC", "BASH_LINENO", "BASH_SUBSHELL", "EUID", "LINENO",
|
||||
"OPTIND", "PPID", "RANDOM", "SECONDS", "SHELLOPTS", "SHLVL", "UID",
|
||||
"COLUMNS", "HISTFILESIZE", "HISTSIZE", "LINES"
|
||||
|
Reference in New Issue
Block a user