Skip to content

Commit

Permalink
fix(options): fix default log.warn() to use console.warn not .error
Browse files Browse the repository at this point in the history
  • Loading branch information
gadicc committed Sep 16, 2024
1 parent 8558c53 commit 4693dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const options: YahooFinanceOptions = {
},
logger: {
info: (...args: any[]) => console.log(...args),
warn: (...args: any[]) => console.error(...args),
warn: (...args: any[]) => console.warn(...args),
error: (...args: any[]) => console.error(...args),
debug: (...args: any[]) => console.log(...args),
},
Expand Down

0 comments on commit 4693dbb

Please sign in to comment.