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

plugin/proxy: lint #1958

Merged
merged 1 commit into from
Jan 18, 2022
Merged

plugin/proxy: lint #1958

merged 1 commit into from
Jan 18, 2022

Conversation

gaelicWizard
Copy link
Contributor

Description

Adopt _command_exists, quote variables, handle unbound parameters, code flow simplification.

Motivation and Context

This was part of my _command_exists branch (#1938) but was out of scope.

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.
  • If my change requires a change to the documentation, I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
  • I have added tests to cover my changes, and all the new and existing tests pass.

@gaelicWizard
Copy link
Contributor Author

gaelicWizard commented Sep 24, 2021

(I'll rebase this one on master so as not to give @davidpfarrell an aneurism as soon as I get back to my computer ♥)

EDIT: Rebased and ready to go!

@gaelicWizard
Copy link
Contributor Author

Actually, I'm marking this as draft. I'll circle back later

@gaelicWizard gaelicWizard marked this pull request as ready for review January 9, 2022 08:09
plugins/proxy: use `_command_exists()`

Alsö, quote variables, handle unbound parameters, &c.
Copy link
Member

@NoahGorny NoahGorny left a comment

Choose a reason for hiding this comment

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

LGTM

@NoahGorny NoahGorny merged commit 973a1f9 into Bash-it:master Jan 18, 2022
@gaelicWizard gaelicWizard deleted the plugin-proxy branch January 18, 2022 19:01
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