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

a tiny optimization #1271

Merged
merged 1 commit into from
Nov 5, 2018
Merged

a tiny optimization #1271

merged 1 commit into from
Nov 5, 2018

Conversation

mingmingwon
Copy link
Contributor

res has been cached at line 130 const { res } = this;, so just use it rather this.res.

`res` has been cached at line 130 `const { res } = this;`, so just use it rather `this.res`.
@codecov
Copy link

codecov bot commented Nov 5, 2018

Codecov Report

Merging #1271 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1271   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files           5       5           
  Lines         393     393           
======================================
  Hits          393     393
Impacted Files Coverage Δ
lib/context.js 100% <100%> (ø) ⬆️

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 0251b38...09c33dc. Read the comment docs.

@dead-horse dead-horse merged commit bc81ca9 into koajs:master Nov 5, 2018
@mingmingwon mingmingwon deleted the patch-1 branch November 5, 2018 10:12
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.

None yet

2 participants