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

Allow --no-plugins=false to force plugins on #790

Merged
merged 2 commits into from Jul 10, 2018
Merged

Conversation

lox
Copy link
Contributor

@lox lox commented Jul 5, 2018

By default plugins are disabled when no-command-eval or no-local-hooks is set. This allows a way around that.

I kind of hate the syntax of --no-plugins=true, and I hate even more the ternary nature of this, in that we only look at the false value if it's specifically set vs just the default value. Suggestions welcomed.

lox added 2 commits July 5, 2018 13:50
By default plugins are disabled when no-command-eval or no-local-hooks
is set. This allows a way around that.
@toolmantim
Copy link
Contributor

👍🏼 Noice! Sounds sensible, given the way the args are set up.

@lox lox requested a review from keithpitt July 6, 2018 09:38
@zsims
Copy link

zsims commented Jul 7, 2018

Thanks for implementing this @lox, much appreciated!

Copy link
Member

@keithpitt keithpitt left a comment

Choose a reason for hiding this comment

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

I kinda like how the words are a bit awkward to turn it on, since it's not the kinda thing ideally people turn on.

Maybe in Agent 4.0 we can do a pass of those flags and make them more sane.

@lox lox merged commit 08aaf28 into master Jul 10, 2018
@lox lox deleted the allow-opt-in-to-plugins branch July 10, 2018 05:58
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

4 participants