MCPcopy
hub / github.com/SamVerschueren/listr / report

Method report

lib/task-wrapper.js:33–41  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

31 }
32
33 report(error) {
34 if (error instanceof ListrError) {
35 for (const err of error.errors) {
36 this._errors.push(err);
37 }
38 } else {
39 this._errors.push(error);
40 }
41 }
42
43 skip(message) {
44 if (message && typeof message !== 'string') {

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected