Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable spinner in CI #1009

Merged
merged 2 commits into from
Dec 19, 2024
Merged

fix: disable spinner in CI #1009

merged 2 commits into from
Dec 19, 2024

Conversation

antongolub
Copy link
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
19 checks passed
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