MCPcopy
hub / github.com/serverless/serverless / remove

Method remove

packages/util/src/logger/index.js:520–529  ·  view source on GitHub ↗

* Removes the progress state and the namespace from the renderer instance. * Stops the renderer.spinner if there are no progress states.

()

Source from the content-addressed store, hash-verified

518 * Stops the renderer.spinner if there are no progress states.
519 */
520 remove() {
521 if (!renderer.isInteractive || renderer.logLevel === 'compose') {
522 return
523 }
524 if (renderer.state.progressTasks.has(this.namespace) === undefined) {
525 return
526 }
527 this.message = null
528 writeProgress()
529 }
530
531 /**
532 * Copy and return the current progress state.

Callers 3

removeContainerMethod · 0.45
removeNetworkIfExistsMethod · 0.45
removeNetworkMethod · 0.45

Calls 1

writeProgressFunction · 0.85

Tested by

no test coverage detected