Skip to content

Commit

Permalink
chore: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RostiMelk committed Dec 11, 2024
1 parent cf18688 commit a514c6f
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 @@ -38,7 +38,7 @@ export default {

spinner(options: Options): Ora {
const spinner = ora({...options, spinner: 'dots'})
// Override the default `succeed` method to use a green checkmark, instead of the default emoji
// 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})
spinner.fail = (text?: string) => spinner.stopAndPersist({text, symbol: SYMBOL_FAIL})
Expand Down

0 comments on commit a514c6f

Please sign in to comment.