Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants