File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * This example addresses a issue reported in GitHub Actions where `spinner` was excessively writing messages,
3+ * leading to confusion and cluttered output.
4+ * To enhance the CI workflow and provide a smoother experience,
5+ * the following changes have been made only for CI environment:
6+ * - Messages will now only be written when a `spinner` method is called and the message updated, preventing unnecessary message repetition.
7+ * - There will be no loading dots animation, instead it will be always `...`
8+ * - Instead of erase the previous message, action that is blocked during CI, it will just write a new one.
9+ *
10+ * Issue: https://github.com/natemoo-re/clack/issues/168
11+ */
112import * as p from '@clack/prompts' ;
213
314const s = p . spinner ( ) ;
You can’t perform that action at this time.
0 commit comments