-
Notifications
You must be signed in to change notification settings - Fork 26
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
Cleanup scripts #217
Cleanup scripts #217
Conversation
There was some mixup of spaces and tabs, I transformed them all into tabs and aligned the indentation to be 4 spaces per level, which is what most of the file followed. Signed-off-by: Dennis Brendel <dbrendel@redhat.com>
This improves readability by a lot. Signed-off-by: Dennis Brendel <dbrendel@redhat.com>
Signed-off-by: Dennis Brendel <dbrendel@redhat.com>
Only color if the terminal has support for that, and use variables instead of using the control sequence everywhere. Signed-off-by: Dennis Brendel <dbrendel@redhat.com>
Signed-off-by: Dennis Brendel <dbrendel@redhat.com>
This fixes the mixture of tabs and spaces. Signed-off-by: Dennis Brendel <dbrendel@redhat.com>
This keeps the namespace clean and prevents conflicts. Signed-off-by: Dennis Brendel <dbrendel@redhat.com>
Signed-off-by: Dennis Brendel <dbrendel@redhat.com>
Signed-off-by: Dennis Brendel <dbrendel@redhat.com>
443197b
to
09f7cc3
Compare
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.
@dennisbrendel
I see spaces changes, which shell checker do you use?
Maybe we can add it to precommit hooks?
https://github.com/containers/qm/blob/main/.pre-commit-config.yaml#L5
I did not use a checker @Yarboa , just looked at the script with |
Mostly cosmetic changes:
local
variablesecho
s