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: lines break #156

Merged
merged 3 commits into from
Aug 1, 2023
Merged

fix: lines break #156

merged 3 commits into from
Aug 1, 2023

Conversation

jaw52
Copy link
Contributor

@jaw52 jaw52 commented Jun 12, 2023

Description

PR of the original author #155

Provide unit tests

Linked Issues

Additional context


export function shouldTransform(code: string, id: string, options?: ScriptSetupTransformOptions): boolean {
export function shouldTransform(code: string, options?: ScriptSetupTransformOptions): boolean {
Copy link
Member

Choose a reason for hiding this comment

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

Why do you change the signature?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why do you change the signature?

没看到使用这个变量。这个是后面要用到的吗

Copy link
Member

Choose a reason for hiding this comment

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

No, but it's not relevant to this PR. And the function is exposed, which you might consider this as a breaking change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, but it's not relevant to this PR. And the function is exposed, which you might consider this as a breaking change

I didn't take that into account. I've changed it back

@jaw52 jaw52 requested a review from antfu June 13, 2023 06:14
@xiaoxiangmoe xiaoxiangmoe merged commit 16ca64e into unplugin:main Aug 1, 2023
6 checks passed
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

3 participants