Skip to content

Small refactoring of getTransformationBody #27500

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

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

Loghorn
Copy link
Contributor

@Loghorn Loghorn commented Oct 2, 2018

This PR has no associated issue because it's a very small refactoring aiming to simplify the code and is not a bug or a feature. I was reading TypeScript source code and noticed it and I don't think it's worth opening an issue for it.

Remove unneeded argName check, because it always evaluates to true (the false case is handled just before the modified line)

Remove unneeded `argName` check, because it always evaluates to `true` (the `false` case is handled just before the modified line)
@RyanCavanaugh RyanCavanaugh merged commit 0d92bd5 into microsoft:master Oct 2, 2018
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.

2 participants