Skip to content

fix: disable spinner in CI#1009

Merged
antongolub merged 2 commits intogoogle:mainfrom
antongolub:fix-spinner
Dec 19, 2024
Merged

fix: disable spinner in CI#1009
antongolub merged 2 commits intogoogle:mainfrom
antongolub:fix-spinner

Conversation

@antongolub
Copy link
Copy Markdown
Collaborator

closes #1008

export async function spinner<T>(
  title: string | (() => T),
  callback?: () => T
): Promise<T> {
  if (typeof title == 'function') {
    callback = title
    title = ''
  }
  if (process.env.CI) return callback!()
  • Tests pass

@antongolub antongolub merged commit 264590b into google:main Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: disable spinner output in CI

2 participants