()
| 203 | } |
| 204 | |
| 205 | async content(): Promise<string | undefined> { |
| 206 | let content = await this._contentGetter(); |
| 207 | |
| 208 | // pad for the inline source offset, see |
| 209 | // https://github.com/microsoft/vscode-js-debug/issues/736 |
| 210 | if (this.inlineScriptOffset?.lineOffset) { |
| 211 | content = '\n'.repeat(this.inlineScriptOffset.lineOffset) + content; |
| 212 | } |
| 213 | |
| 214 | return content; |
| 215 | } |
| 216 | |
| 217 | /** |
| 218 | * Pretty-prints the source. Generates a beauitified source map if possible |
no outgoing calls
no test coverage detected