You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shellcheck...............................................................Failed
- hook id: shellcheck
- exit code: 1
In .bashrc line 1:
alias salam="/mnt/c/Users/MAX/Salam/src/main"
^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
In .bashrc line 3:
source ~/.bashrc
^-------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In src/build-linux.sh line 36:
if [ $? -ne 0 ]; then
^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
In src/build-linux.sh line 44:
gcc -o "$output" *.o
^-- SC2035 (info): Use ./*glob* or -- *glob* so names with dashes won't become options.
In src/build-linux.sh line 45:
if [ $? -ne 0 ]; then
^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
In src/build-linux.sh line 56:
if [ $? -ne 0 ]; then
^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
In src/build-mac.sh line 1:
^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
In src/build-webassembly.sh line 45:
if [ $? -eq 0 ]; then
^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
For more information:
https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y...
https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
https://www.shellcheck.net/wiki/SC2035 -- Use ./*glob* or -- *glob* so name...
https://pypi.org/project/shellcheck-py/
The text was updated successfully, but these errors were encountered: