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

refactor(gnolang): remove unnecessary if-else #550

Conversation

harry-hov
Copy link
Contributor

@harry-hov harry-hov commented Mar 1, 2023

Description

Removed unnecessary else blocks from pkgs/gnolang.

@harry-hov harry-hov requested a review from a team as a code owner March 1, 2023 10:45
@harry-hov harry-hov self-assigned this Mar 1, 2023
@moul
Copy link
Member

moul commented Mar 1, 2023

@harry-hov do you plan to make additional ones? if yes, let's keep this PR open and merge regularly by batches.
Else, we can merge now.

@moul
Copy link
Member

moul commented Mar 1, 2023

i.e., #551

@harry-hov
Copy link
Contributor Author

harry-hov commented Mar 1, 2023

@moul I'm not planning to work on an additional PR related to this. At least not this week. I was just going through the pkgs/gnolang and found this. Maybe I will try to do 1-2 small PR per week related to styling fixes.

@moul
Copy link
Member

moul commented Mar 2, 2023

What about merging 551 into this one and keeping this meta PR open with all the style improvements you find by walking this package and merging it when you finish or on a weekly/bi-weekly basis?

@harry-hov
Copy link
Contributor Author

harry-hov commented Mar 2, 2023

Sounds good to me. Will close 551.

@harry-hov harry-hov changed the title chore(gnolang/nodes_copy): remove unnecessary else chore(gnolang): remove unnecessary else Mar 2, 2023
…ve-unnecessary-else

chore(gnolang/nodes_string): remove unnecessary else
Copy link
Member

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

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

Lookin' good 💯

@harry-hov harry-hov changed the title chore(gnolang): remove unnecessary else refactor(gnolang): remove unnecessary else Mar 7, 2023
@harry-hov harry-hov changed the title refactor(gnolang): remove unnecessary else refactor(gnolang): remove unnecessary if-else Mar 7, 2023
@moul
Copy link
Member

moul commented Mar 7, 2023

Let's merge this one now, and feel free to open another one we keep open for a few days. Thanks.

@moul moul merged commit c788d1d into gnolang:master Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

4 participants