* Print the next frame either in CI mode or local terminal mode based on whether the script is run in a * CI environment.
(prefix = this.getNextSpinnerCharacter(), text?: string)
| 89 | * CI environment. |
| 90 | */ |
| 91 | private printFrame(prefix = this.getNextSpinnerCharacter(), text?: string): void { |
| 92 | if (IS_CI) { |
| 93 | this.printNextCIFrame(text); |
| 94 | } else { |
| 95 | this.printNextLocalFrame(prefix, text); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | /** Print the current text for the spinner to the terminal. */ |
| 100 | private printNextLocalFrame(prefix: string, text?: string) { |
no test coverage detected