(modulePath, message)
| 372 | }; |
| 373 | |
| 374 | const logDocumentationError = (modulePath, message) => { |
| 375 | let moduleErrors = documentationErrors.get(modulePath); |
| 376 | |
| 377 | if (!moduleErrors) { |
| 378 | documentationErrors.set(modulePath, []); |
| 379 | moduleErrors = documentationErrors.get(modulePath); |
| 380 | } |
| 381 | |
| 382 | moduleErrors.push(message); |
| 383 | } |
| 384 | |
| 385 | const displayDocumentationErrors = () => { |
| 386 | let errorsCount = 0; |
no test coverage detected