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

Bdh cleanup #766

Merged
merged 2 commits into from
Feb 20, 2022
Merged

Bdh cleanup #766

merged 2 commits into from
Feb 20, 2022

Conversation

bryan-howard
Copy link
Contributor

What does this implement/fix? Explain your changes.

Removes trailing whitespace.
Addresses all outstanding shellcheck warnings.

Does this close any currently open issues?

I don't think so.

Any relevant logs, error output, etc?

No.

Any other comments?

No.

@@ -41,7 +34,9 @@ function _show_version {

function _init_script {
if [[ $# == 0 ]]; then
_incorrect_usage 'no input parameters provided.' 126
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shellcheck correctly warns that the usage() function expects parameters but is never called with any. I have just submitted a different pull request based on the current master which passes the rest of the parameter list to the usage function rather than inline it. So you can forget this part of this submission.

@joshrabinowitz
Copy link
Collaborator

joshrabinowitz commented Feb 16, 2022

@sobolevn @bryan-howard I'm planning to merge this soon, then revert the _incorrect_usage changes commented on above.

@joshrabinowitz joshrabinowitz merged commit 66541e8 into sobolevn:master Feb 20, 2022
@bryan-howard bryan-howard deleted the bdh-cleanup branch February 23, 2022 18:26
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.

None yet

3 participants