MCPcopy Create free account
hub / github.com/angular/dev-infra / printFrame

Method printFrame

ng-dev/utils/spinner.ts:91–97  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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) {

Callers 3

SpinnerClass · 0.95
textMethod · 0.95
_completeMethod · 0.95

Calls 3

printNextCIFrameMethod · 0.95
printNextLocalFrameMethod · 0.95

Tested by

no test coverage detected