We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e2ec3e commit cd1d021Copy full SHA for cd1d021
registry/lib/spinner.js
@@ -138,7 +138,7 @@ function Spinner(options) {
138
const text = args.at(0)
139
const normalized = normalizeText(text)
140
// We clear this.text on start when `text` is falsy because yocto-spinner
141
- // would not clear it otherwise.
+ // will not clear it otherwise.
142
if (!normalized) {
143
this.setText('')
144
}
@@ -147,6 +147,8 @@ function Spinner(options) {
147
148
149
stop(...args) {
150
+ // We clear this.text on stop because yocto-spinner will not clear it.
151
+ this.setText('')
152
return this.#apply('stop', args)
153
154
0 commit comments