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

Optimize path.js and format.js #456

Merged
merged 3 commits into from
Nov 6, 2018
Merged

Conversation

exoego
Copy link
Collaborator

@exoego exoego commented Nov 4, 2018

  • Remove redundant assignment.
  • Remove redundant Array.isArray and inline emptiness check
  • Remove unnecessary capture group in RegExp.

@codecov-io
Copy link

codecov-io commented Nov 4, 2018

Codecov Report

Merging #456 into dev will decrease coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #456      +/-   ##
==========================================
- Coverage   95.98%   95.95%   -0.04%     
==========================================
  Files           9        9              
  Lines         647      642       -5     
==========================================
- Hits          621      616       -5     
  Misses         26       26
Impacted Files Coverage Δ
src/format.js 100% <100%> (ø) ⬆️
src/path.js 87.03% <100%> (-0.58%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5024c90...09a10d1. Read the comment docs.

@exoego exoego changed the title Optimize path.js Optimize path.js and format.js Nov 4, 2018
Copy link
Owner

@kazupon kazupon left a comment

Choose a reason for hiding this comment

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

Good job!
Thanks!

@kazupon kazupon merged commit 639453c into kazupon:dev Nov 6, 2018
@exoego exoego deleted the optimize-paths branch November 6, 2018 06:26
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.

3 participants