(name, value)
| 112 | } |
| 113 | |
| 114 | function checkDocstring(name, value) { |
| 115 | if ( |
| 116 | !value || |
| 117 | (value.length < 1 && !excludedDocProps.includes(name.split('.').pop())) |
| 118 | ) { |
| 119 | logError(`\nDescription for ${name} is missing!`); |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | function docstringWarning(doc) { |
| 124 | checkDocstring(doc.displayName, doc.description); |
no test coverage detected
searching dependent graphs…