(sourceRoot: string | undefined)
| 2230 | } |
| 2231 | |
| 2232 | function normalizeSourceRoot(sourceRoot: string | undefined): string { |
| 2233 | const root = stringValue(sourceRoot).replace(/\/+$/, ""); |
| 2234 | return isAbsoluteSourceFile(root) ? root : ""; |
| 2235 | } |
| 2236 | |
| 2237 | function absoluteSourceFile(file: string, sourceRoot: string): string { |
| 2238 | const cleanFile = stringValue(file); |
no test coverage detected