(error)
| 89 | } |
| 90 | |
| 91 | addToError(error) { |
| 92 | error.postcssNode = this |
| 93 | if (error.stack && this.source && /\n\s{4}at /.test(error.stack)) { |
| 94 | let s = this.source |
| 95 | error.stack = error.stack.replace( |
| 96 | /\n\s{4}at /, |
| 97 | `$&${s.input.from}:${s.start.line}:${s.start.column}$&` |
| 98 | ) |
| 99 | } |
| 100 | return error |
| 101 | } |
| 102 | |
| 103 | after(add) { |
| 104 | this.parent.insertAfter(this, add) |
no outgoing calls
no test coverage detected