-
Notifications
You must be signed in to change notification settings - Fork 0
test csdiff #81 #31
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 #81 #31
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
if | ||
echo 'YOLO' | ||
done | ||
Check failureCode scanning / shellcheck Expected 'then'.
Expected 'then'.
Check failureCode scanning / shellcheck Unexpected keyword/token. Fix any mentioned problems and try again.
Unexpected keyword/token. Fix any mentioned problems and try again.
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
. $source'/script' | ||
Check warningCode scanning / shellcheck source is referenced but not assigned.
source is referenced but not assigned.
Check noticeCode scanning / shellcheck Not following: ./script: openBinaryFile: does not exist (No such file or directory)
Not following: ./script: openBinaryFile: does not exist (No such file or directory)
Check noticeCode scanning / shellcheck Double quote to prevent globbing and word splitting.
Double quote to prevent globbing and word splitting.
Check noticeCode scanning / shellcheck Prefer putting braces around variable references even when not strictly required.
Prefer putting braces around variable references even when not strictly required.
|
||
|
||
[[ $a =~ 'a' ]] && exit 0 | ||
Check warningCode scanning / shellcheck In POSIX sh, [[ ]] is undefined.
In POSIX sh, [[ ]] is undefined.
Check warningCode scanning / shellcheck a is referenced but not assigned.
a is referenced but not assigned.
Check noticeCode scanning / shellcheck Prefer putting braces around variable references even when not strictly required.
Prefer putting braces around variable references even when not strictly required.
|
||
|
||
echo 'YOYOYO' | ||
|
||
exit 1 |
Check failure
Code scanning / shellcheck
Couldn't parse this if expression. Fix to allow more checks.