Skip to content

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 gaelicWizard marked this pull request as draft September 24, 2021 04:26
@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.

3 participants