(text: string, options?: LoggerOptions)
| 149 | } |
| 150 | |
| 151 | export function debugSpinner(text: string, options?: LoggerOptions) { |
| 152 | writeLog(text, options); |
| 153 | |
| 154 | if (debugModeFlag) { |
| 155 | const spinner = getSpinner(); |
| 156 | spinner.info(text); |
| 157 | return spinner; |
| 158 | } |
| 159 | |
| 160 | return dummySpinner; |
| 161 | } |
| 162 | |
| 163 | export function debugMode(mode: boolean) { |
| 164 | debugModeFlag = mode; |
nothing calls this directly
no test coverage detected