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

Fix disabling accelerators #12449

Merged
merged 1 commit into from
Mar 28, 2018
Merged

Fix disabling accelerators #12449

merged 1 commit into from
Mar 28, 2018

Conversation

codebytere
Copy link
Member

Fixes #12384.

We checked that (command.accelerator) instead of that (command.accelerator != null); empty strings are falsy so this removed the ability to disable accelerators by setting them to ''. This reverts that.

@codebytere codebytere requested a review from a team March 27, 2018 20:18
@MarshallOfSound
Copy link
Member

Can we add a test to ensure this doesn't happen again? 🤔

@codebytere
Copy link
Member Author

per discussion with @MarshallOfSound, there's no real easy way to test this, sadly.

@codebytere codebytere merged commit a677c22 into master Mar 28, 2018
@trop
Copy link
Contributor

trop bot commented Mar 28, 2018

An error occurred while attempting to backport this PR to "1-8-x", you will need to perform this backport manually

@codebytere codebytere deleted the disable-accelerators branch March 28, 2018 00:35
@trop
Copy link
Contributor

trop bot commented Mar 28, 2018

We have automatically backported this PR to "2-0-x", please check out #12455

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

2 participants