()
| 137 | this._body = val |
| 138 | |
| 139 | const cleanupPreviousStream = () => { |
| 140 | if (original && isStream(original)) { |
| 141 | original.once('error', () => {}) |
| 142 | // Only destroy if the new value is not a stream |
| 143 | if (!isStream(val)) { |
| 144 | destroy(original) |
| 145 | } |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | // no content |
| 150 |
no outgoing calls
no test coverage detected
searching dependent graphs…