Closed hellresistor closed 3 years ago
The error: SC2034 is not related with this break line "\n".
When shellcheck run over your script, it identifies the problem SC2034, and when sh-checker shows the output the character \n is converted to a new line.
Ok!
I tryed to say its this. See difference.
ShellCheck
Luiz checker
Exposing this. Is not a issue. more like a little bug
Exposing this. Is not a issue. more like a little bug
I can't work on it right now, but I will. Thank you for the report.
no problem! ;)
Correct Code (Passed in ShellCheck)
MyBalR=$(echo "$MyBal" | awk '{printf("%d\n",$1 + 0.5)}')
Get this on action-sh-checker v0.1.5 (and4 too) (are doing the \n on checking instead read it)