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

chore(serve): refactor code to be more concise #974

Merged
merged 5 commits into from Jul 6, 2019

Conversation

jamesgeorge007
Copy link
Member

What kind of change does this PR introduce?
refactoring

Did you add tests for your changes?
Nope

If relevant, did you update the documentation?
N/A

Summary
Refactored the serve action handler to a more concise form.

Does this PR introduce a breaking change?
Nope

Other information
N/A

@webpack-bot
Copy link

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@ematipico
Copy link
Contributor

The commit message should be chore(serve)
feat() <= this addresses a new feature, in this case :)

Copy link
Member

@rishabh3112 rishabh3112 left a comment

Choose a reason for hiding this comment

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

Change PR title too as @ematipico said

@jamesgeorge007 jamesgeorge007 changed the title feat(chore): refactor code to be more concise chore(serve): refactor code to be more concise Jun 28, 2019
Copy link
Member

@evenstensberg evenstensberg left a comment

Choose a reason for hiding this comment

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

Could you add a little comment on the double array inddex accesses?

@webpack-bot
Copy link

@jamesgeorge007 Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@rishabh3112 Please review the new changes.

Copy link
Member

@evenstensberg evenstensberg left a comment

Choose a reason for hiding this comment

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

lgtm, nice work!

@evenstensberg evenstensberg merged commit 6c766f8 into webpack:master Jul 6, 2019
@jamesgeorge007 jamesgeorge007 deleted the feat/minor-refactor branch July 7, 2019 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants