Skip to content

Commit

Permalink
fix(core): Fix level in warn method of error reporter (no-changel…
Browse files Browse the repository at this point in the history
…og) (#9502)
  • Loading branch information
ivov authored and RicardoE105 committed May 24, 2024
1 parent e5b1dbd commit 7875bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workflow/src/ErrorReporterProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ export const info = (msg: string, options?: ReportingOptions) => {
};

export const warn = (warning: Error | string, options?: ReportingOptions) =>
error(warning, { level: 'warning', ...options });
error(warning, { ...options, level: 'warning' });

0 comments on commit 7875bc5

Please sign in to comment.