* Gets the source URL computed from the compiled path and the source root.
(sourceUrl: string)
| 90 | * Gets the source URL computed from the compiled path and the source root. |
| 91 | */ |
| 92 | public computedSourceUrl(sourceUrl: string) { |
| 93 | return fixDriveLetterAndSlashes( |
| 94 | completeUrlEscapingRoot( |
| 95 | isDataUri(this.metadata.sourceMapUrl) |
| 96 | ? this.metadata.compiledPath |
| 97 | : this.metadata.sourceMapUrl, |
| 98 | this.sourceRoot + sourceUrl, |
| 99 | ), |
| 100 | ); |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * @inheritdoc |
no test coverage detected