Skip to content

Commit

Permalink
feat: use default ora options
Browse files Browse the repository at this point in the history
  • Loading branch information
RostiMelk committed Dec 13, 2024
1 parent 85de530 commit c92681b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/cli/src/outputters/cliOutputter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
},

spinner(options: Options): Ora {
const spinner = ora({...options, spinner: 'dots'})
const spinner = ora(options)
// Override the default status methods to use custom symbols instead of emojis
spinner.succeed = (text?: string) => spinner.stopAndPersist({text, symbol: SYMBOL_CHECK})
spinner.warn = (text?: string) => spinner.stopAndPersist({text, symbol: SYMBOL_WARN})
Expand Down

0 comments on commit c92681b

Please sign in to comment.