qual: Add pre-commit configuration & action #97
Merged
Annotations
8 errors and 1 warning
Run pre-commit hooks
Process completed with exit code 1.
|
Convert Raw Log to annotations:
bash_unit#L95
signalled ==> signaled
|
Convert Raw Log to annotations:
bash_unit#L192
eval "function $command() { export FAKE_PARAMS=(\"\$@\") ; $@ ; }"
^-- SC2145 (error): Argument mixes string and array. Use * or separate argument.
^-- SC2294 (warning): eval negates the benefit of arrays. Drop eval to preserve whitespace/symbols (or eval as string).
|
Convert Raw Log to annotations:
bash_unit#L196
export -f $command
^------^ SC2163 (warning): This does not export 'command'. Remove $/${} for that, or use ${var?} to quiet.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
|
Convert Raw Log to annotations:
bash_unit#L363
[[ -z "$message" ]] || printf -- "$message\n"
^----------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
|
Convert Raw Log to annotations:
bash_unit#L408
[[ -z "$message" ]] || printf -- "$message\n" | "$SED" -u -e 's/^/# /'
^----------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
|
Convert Raw Log to annotations:
getting_started/hello_i18n#L17
[[ "$0" == "${BASH_SOURCE[0]}" ]] && main "$@" || true
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
|
Convert Raw Log to annotations:
getting_started/hello_timed#L10
else if (( "$(current_hour)" > 17 ))
^-- SC1075 (error): Use 'elif' instead of 'else if' (or put 'if' on new line if nesting).
|
Run actions/cache/save@v4
Cache save failed.
|
The logs for this run have expired and are no longer available.
Loading