From c92681bd5ba221ff0fe827ac04f45ddb009aeaec Mon Sep 17 00:00:00 2001 From: RostiMelk Date: Fri, 13 Dec 2024 14:12:00 +0100 Subject: [PATCH] feat: use default ora options --- packages/@sanity/cli/src/outputters/cliOutputter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@sanity/cli/src/outputters/cliOutputter.ts b/packages/@sanity/cli/src/outputters/cliOutputter.ts index 5e921d02328..b77564a87bc 100644 --- a/packages/@sanity/cli/src/outputters/cliOutputter.ts +++ b/packages/@sanity/cli/src/outputters/cliOutputter.ts @@ -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})