fix(core): Fix level in warn method of error reporter (no-changelog) (#9502)

This commit is contained in:
Iván Ovejero 2024-05-24 09:16:41 +02:00 committed by GitHub
parent b585777c79
commit 24e8ac00c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,4 +39,4 @@ export const info = (msg: string, options?: ReportingOptions) => {
}; };
export const warn = (warning: Error | string, options?: ReportingOptions) => export const warn = (warning: Error | string, options?: ReportingOptions) =>
error(warning, { level: 'warning', ...options }); error(warning, { ...options, level: 'warning' });