commando-vm icon indicating copy to clipboard operation
commando-vm copied to clipboard

Simplify boolean expression

Open rsdoherty opened this issue 1 year ago • 2 comments

There's a fair bit of code in here that's evaluating boolean expressions and returning the opposite value, when you can reverse the comparison and just return that directly.

This PR updates a few of the statements to use that behaviour 👍

rsdoherty avatar Oct 05 '23 22:10 rsdoherty

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Oct 05 '23 22:10 google-cla[bot]

@rsdoherty thank you for the help with the project. Please sign the Google CLA so that we can merge your commit.

geo-lit avatar Apr 08 '24 20:04 geo-lit