-
Notifications
You must be signed in to change notification settings - Fork 47
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
Create some tests #80
Conversation
nice |
i am slightly afraid to touch the errors |
I tried to make an action to run |
Does -lt and -gt instead of < and > produce the same error regarding version numbers? IIRC </> are for string comparisons in bash, -lt/-gt for numerals. [edit] I'm mobile right now, so unable to verify |
73d78ae
to
6c69076
Compare
3c7b1bf
to
f0b4f9d
Compare
Couldn't get fedora/redhat type containers to work. TODO. Shellcheck 2070 says: Exceptions If the strings happen to be version numbers and you're using <, or > to compare them as strings, and you consider this an acceptable thing to do, then you can ignore this warning. So I left it. The alternatives are complicated bash, or external tools that aren't always installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only lints for "errors"
-S error
The shebang line is injected from build-install.sh. There was probably a reason for that, so I marked it ignored.
There are a few more errors like:
if we enable warnings and info, there are ~20 things to fix. But it's style stuff like
I'll
cat
if I want to.