-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add shellcheck to CI #2428
base: 3.2
Are you sure you want to change the base?
add shellcheck to CI #2428
Conversation
Thanks! To add this is basically a very good idea however we need either to fix the errors or to mark them so that the CI passes.
Not sure I can follow you. What do you mean by tested? |
Yes! This is why this PR is still marked as a draft. :D
As this issue was not caught earlier, I’d expect the functionality testing is not working correctly [or maybe we are missing the coverage]. I’d rather fix the test first and then the code itself to check & document test functionality. |
Oops, thanks for the clarification. :-) PR pending. $DNS_VIA_PROXY needs also be true and it affects only the output. So, no, the output wasn´t tested in CI. Guess I tested that manually but obviously my eyes weren´t open enough. |
@drwetter I rebased this PR on #2436 and fixed the shellcheck errors. |
Ok, thanks! CI went fine. However in some instances I am not sure yet whether the fixes are correct when changing from [@] to [*] Have you looked at the contexts whether it's correct to remove the expansion? |
Hi @MFTabriz , pls see my last comment. |
--severity=error
to CI.shellcheck report for f3c7eb4 can be accessed from here.