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

migrator/index.js 中的afterInvoke回调不执行 #4837

Closed
F-happy opened this issue Nov 12, 2019 · 0 comments · Fixed by #5062
Closed

migrator/index.js 中的afterInvoke回调不执行 #4837

F-happy opened this issue Nov 12, 2019 · 0 comments · Fixed by #5062
Labels

Comments

@F-happy
Copy link

F-happy commented Nov 12, 2019

Version

4.0.5

Reproduction link

https://github.com/vuejs/vue-cli/blob/5bff9c3f28/packages/%40vue/cli/lib/Upgrader.js#L148

Environment info

Environment Info:

  System:
    OS: macOS 10.15.1
    CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
  Binaries:
    Node: 12.12.0 - /usr/local/bin/node
    Yarn: 1.19.1 - /usr/local/bin/yarn
    npm: 6.13.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 78.0.3904.97
    Firefox: 69.0.3
    Safari: 13.0.3
  npmGlobalPackages:
    @vue/cli: 4.0.5

Steps to reproduce

查看代码https://github.com/vuejs/vue-cli/blob/5bff9c3f28/packages/%40vue/cli/lib/Upgrader.js#L148
发现createCompleteCbs回调数组并没有push回调进去。

What is expected?

afterInvoke函数正常执行

What is actually happening?

afterInvoke函数并没有触发

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants