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

refactor: use console.clear to clear the log #5700

Merged
merged 1 commit into from Jul 24, 2020
Merged

refactor: use console.clear to clear the log #5700

merged 1 commit into from Jul 24, 2020

Conversation

imtaotao
Copy link
Contributor

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

@imtaotao
Copy link
Contributor Author

vue-cli currently uses node version v8.9 or a higher one, so console.clear can be used instead.

@sodatea sodatea merged commit 7c2a36b into vuejs:dev Jul 24, 2020
sodatea added a commit that referenced this pull request Jul 24, 2020
This reverts commit 7c2a36b.

`console.clear` overrides the previous content on the screen, so it
might cause confusion when users scrolls back.
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

2 participants