MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / hasErrors

Method hasErrors

lib/models/package-info-cache/index.js:55–63  ·  view source on GitHub ↗

* Indicates if there is at least one error in any object in the cache. * * @public * @method hasErrors * @return true if there are any errors in the cache, for any entries, else false.

()

Source from the content-addressed store, hash-verified

53 * @return true if there are any errors in the cache, for any entries, else false.
54 */
55 hasErrors() {
56 let paths = Object.keys(this.entries);
57
58 if (paths.find((entryPath) => this.getEntry(entryPath).hasErrors())) {
59 return true;
60 }
61
62 return false;
63 }
64
65 /**
66 * Gather all the errors in the PIC and any cached objects, then dump them

Callers 1

_showObjErrorsMethod · 0.45

Calls 1

getEntryMethod · 0.95

Tested by

no test coverage detected