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

fix: try to use custom function name first #2161

Merged
merged 2 commits into from
Mar 5, 2018

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Mar 5, 2018

pick from #2156

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

@fengmk2
Copy link
Member Author

fengmk2 commented Mar 5, 2018

@dead-horse 好了


const fs = require('mz/fs');

module.exports = function* () {
Copy link
Member Author

Choose a reason for hiding this comment

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

这里我改成 aa

@fengmk2 fengmk2 force-pushed the try-to-use-custom-name-first-for-2.x branch from 8a3f390 to d4e2c66 Compare March 5, 2018 08:43

const fs = require('mz/fs');

module.exports = async (ctx) => {
Copy link
Member

Choose a reason for hiding this comment

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

async ctx =>

Copy link
Member

Choose a reason for hiding this comment

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

这个 lint 不会报?

Copy link
Member

Choose a reason for hiding this comment

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

fixtures �ignore 了吧

@codecov
Copy link

codecov bot commented Mar 5, 2018

Codecov Report

Merging #2161 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2161   +/-   ##
=======================================
  Coverage   99.59%   99.59%           
=======================================
  Files          29       29           
  Lines         749      749           
=======================================
  Hits          746      746           
  Misses          3        3
Impacted Files Coverage Δ
app/extend/context.js 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 1a73720...14108aa. Read the comment docs.

@fengmk2
Copy link
Member Author

fengmk2 commented Mar 5, 2018

fixed

@dead-horse dead-horse merged commit f0edf96 into master Mar 5, 2018
popomore pushed a commit that referenced this pull request Mar 5, 2018
fix: try to use custom function name first (#2161)
@fengmk2 fengmk2 deleted the try-to-use-custom-name-first-for-2.x branch March 5, 2018 12:48
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.

3 participants