(errors)
| 89 | } |
| 90 | |
| 91 | sendErrors(errors) { |
| 92 | if(!errors.length) return; |
| 93 | let spans = []; |
| 94 | let extraInfo = {}; |
| 95 | for(let error of errors) { |
| 96 | error.injectSpan(spans, extraInfo); |
| 97 | } |
| 98 | this.send(JSON.stringify({type: "comments", spans, extraInfo})) |
| 99 | return true; |
| 100 | } |
| 101 | |
| 102 | enabledCss(code:string = "") { |
| 103 | if(!code && this.lastParse) code = this.lastParse.code; |
nothing calls this directly
no test coverage detected