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
Would using UPPER_CASE variable naming work for you? That's the shellcheck convention for variables coming from outside the script itself.
Lowercase external variables will be reported as undefined unless you assert otherwise (e.g. with a declare statement or a # shellcheck: disable <error-code>)
Ah, I did not know that. Just confirmed, using uppercase naming leads to shellchecker no longer reporting an issue. That is sufficient for me - I will leave it up to you if you want to leave this open for supporting it even if not uppercase or just close it
The shellchecker reports
var is referenced but not assigned.
when you define something in the tekton step env. For example, thisresults in shellchecker reporting
The text was updated successfully, but these errors were encountered: