Skip to content

Commit

Permalink
style: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Sep 9, 2024
1 parent d9d268c commit a5294d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/src/console/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const error = (...args: unknown[]): void => {
console.error(colors.red('error'), ...args)
}

export const createError = (message?: string | undefined): Error => {
export const createError = (message?: string): Error => {
error(message)
return new Error(message)
}
Expand Down

0 comments on commit a5294d5

Please sign in to comment.