Skip to content
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

Move local to one var per line and init on seperate line #435

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

jcpunk
Copy link
Contributor

@jcpunk jcpunk commented Aug 19, 2024

This should resolve inconsistent results from shellcheck checks SC2178/SC2128

The tests pass for me locally, but extra careful eyes would be nice.

In theory this gets us closer to consistent coding practices. I also renamed the variable $mv to $modv where I saw it as typos there may lead to confusion with the mv command.

@scaronni
Copy link
Collaborator

Can you please rebase? I'll take a look just after.
thanks.

@jcpunk
Copy link
Contributor Author

jcpunk commented Sep 20, 2024

rebased

@scaronni
Copy link
Collaborator

@jcpunk tests do not run correctly. Please make sure nothing is broken and if the output has changed, please update the tests accordingly.

This should resolve inconsistent results from shellcheck
checks SC2178/SC2128
@jcpunk
Copy link
Contributor Author

jcpunk commented Sep 24, 2024

Sorry about that, I forgot to copy my changed code into /usr/bin/dkms.

@scaronni scaronni merged commit 870ab9b into dell:master Oct 21, 2024
22 of 28 checks passed
@jcpunk jcpunk deleted the local_two_lines branch October 21, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants