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(compiler-sfc): remove duplicate judgment conditions #4368

Merged
merged 1 commit into from
Aug 17, 2021

Conversation

javastation
Copy link
Contributor

@javastation javastation commented Aug 17, 2021

https://github.com/vuejs/vue-next/blob/57f10812cc7f1e9f6c92736c36aba577943996fd/packages/compiler-sfc/src/compileScript.ts#L202-L213
The judgment conditions on lines 202 and 204 are duplicated, remove duplicate cssVars.length

@yyx990803 yyx990803 merged commit c51fb74 into vuejs:master Aug 17, 2021
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