SalamLang / Salam

Salam Language: The inaugural coding language for Persian and Arabic speakers, inspired by the word salam meaning peace. With a user-friendly approach, it provides an accessible coding experience, promoting collaboration and simplicity for local developers.
https://www.salamlang.ir
GNU General Public License v3.0
10 stars 8 forks source link

Super-Linter Bash linting errors #321

Open jbampton opened 1 week ago

jbampton commented 1 week ago
 2024-11-18 01:21:20 [INFO]   Linting BASH items...
  Error: -18 01:21:20 [ERROR]   Found errors when linting BASH. Exit code: 1.
  2024-11-18 01:21:20 [INFO]   Command output for BASH:
  ------

  In /github/workspace/build-linux.sh line 36:
    if [ $? -ne 0 ]; then
               ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.

  In /github/workspace/build-linux.sh line 44:
  gcc -o "$output" *.o
                   ^-- SC2035 (info): Use ./*glob* or -- *glob* so names with dashes won't become options.

  In /github/workspace/build-linux.sh line 45:
  if [ $? -ne 0 ]; then
       ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.

  In /github/workspace/build-linux.sh line 56:
  if [ $? -ne 0 ]; then
       ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.

  In /github/workspace/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/SC2035 -- Use ./*glob* or -- *glob* so name...
    https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g...
  ------