Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(zkstack_cli): make progress bar optional in non-terminal envs (#3146
) ## What ❔ Enables plain logging as a fallback for progress bar. ## Why ❔ Spinner does not print anything when zkstack is redirected to a file, piped or is just ran in an env with no virtual terminal. Most notably this affects our CI where all spinner messages are just swallowed into nowhere. ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [x] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [x] Code has been formatted via `zkstack dev fmt` and `zkstack dev lint`.
- Loading branch information