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: string field with false value in asconfig.js #2775

Closed
wants to merge 1 commit into from

Conversation

woruyu
Copy link

@woruyu woruyu commented Oct 24, 2023

Fixes #2751

Comment on lines +71 to +73

/** Sanitizes an option value to be a valid value of the option's type. */
export function sanitizeValue(value: any, type: string): boolean | number | string | null | number[] | string[]; // eslint-disable-line @typescript-eslint/no-explicit-any
Copy link
Member

Choose a reason for hiding this comment

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

unrelated change

Copy link
Member

Choose a reason for hiding this comment

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

Hm, this is only necessary because this function is tested directly...is there a way to avoid that?

Copy link
Member

Choose a reason for hiding this comment

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

Could you test this case by using merge API?

@HerrCai0907
Copy link
Member

fixed in #2802

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.

Compiling release without sourceMap create a sourcemap named "false"
3 participants