-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: csdiff#170
#371
test: csdiff#170
#371
Conversation
jamacku
commented
Apr 17, 2024
- writer-sarif: add descriptions for ShellCheck rules csutils/csdiff#170
@@ -4,13 +4,13 @@ | |||
# Quoting | |||
# ======= | |||
|
|||
# echo $1 # Unquoted variables | |||
echo $1 # Unquoted variables |
Check warning
Code scanning / shellcheck
SC2086 Warning documentation
# rm "~/my file.txt" # Quoted tilde expansion | ||
# v='--verbose="true"'; cmd $v # Literal quotes in variables | ||
# touch $@ # Unquoted $@ | ||
# echo 'Path is $PATH' # Variables in single quotes | ||
touch $@ # Unquoted $@ |
Check failure
Code scanning / shellcheck
SC2068 Error documentation
# touch $@ # Unquoted $@ | ||
# echo 'Path is $PATH' # Variables in single quotes | ||
touch $@ # Unquoted $@ | ||
echo 'Path is $PATH' # Variables in single quotes |
Check warning
Code scanning / shellcheck
SC2016 Warning documentation
# trap "echo Took ${SECONDS}s" 0 # Prematurely expanded trap | ||
# unset var[i] # Array index treated as glob | ||
unset var[i] # Array index treated as glob |
Check warning
Code scanning / shellcheck
SC2184 Warning documentation