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

Refactored code #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jameslevine
Copy link

I am applying for a Junior role at YouView so was looking through the open-source codebase to familiarise myself with it.

This pull request consists of:
Refactored if/else into a ternary operator
Removal of some strictly equals signs where deemed unnecessary.

Please don't feel the need to approve these changes, especially if the refactoring is unnecessary here or might not fit with tests already written. I was simply familiarising myself with the codebase as I do quite enjoy contributing to open-source projects.

If, however, you do feel like approving them, I would be thrilled. If you need any further help refactoring, I would love to continue to help where I can.

I am applying for a Junior role at YouView so was looking through the open-source codebase to familiarise myself with it.

This pull request consists of:
Refactored if/else into a ternary operator
Removal of some strictly equals signs where deemed unnecessary.

Please don't feel the need to approve these changes, especially if the refactoring is unnecessary here or might not fit with tests already written. I was simply familiarising myself with the codebase as I do quite enjoy contributing to open-source projects.

If, however, you do feel like approving them, I would be thrilled. If you need any further help refactoring, I would love to continue to help where I can.
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.

1 participant