(done)
| 179 | } |
| 180 | |
| 181 | function validateAscii (done) { |
| 182 | const Reset = '\x1b[0m' |
| 183 | const BgRed = '\x1b[41m' |
| 184 | |
| 185 | getAllFiles(SRC_DIR) |
| 186 | .map(validateChars) |
| 187 | .forEach(function (invalidChars) { |
| 188 | invalidChars.forEach(function (res) { |
| 189 | console.log(res.insideComment ? '' : BgRed, |
| 190 | 'file:', res.filename, |
| 191 | 'ln:' + res.ln, |
| 192 | 'col:' + res.col, |
| 193 | 'inside comment:', res.insideComment, |
| 194 | 'code:', res.c, |
| 195 | 'character:', String.fromCharCode(res.c), |
| 196 | Reset |
| 197 | ) |
| 198 | }) |
| 199 | }) |
| 200 | |
| 201 | done() |
| 202 | } |
| 203 | |
| 204 | async function generateDocs (done) { |
| 205 | const all = (await import('file://' + REF_SRC + 'defaultInstance.js')).default |
nothing calls this directly
no test coverage detected
searching dependent graphs…