(option, value, relativeToBuildInfo)
| 120688 | return result; |
| 120689 | } |
| 120690 | function convertToReusableCompilerOptionValue(option, value, relativeToBuildInfo) { |
| 120691 | if (option) { |
| 120692 | if (option.type === "list") { |
| 120693 | var values = value; |
| 120694 | if (option.element.isFilePath && values.length) { |
| 120695 | return values.map(relativeToBuildInfo); |
| 120696 | } |
| 120697 | } |
| 120698 | else if (option.isFilePath) { |
| 120699 | return relativeToBuildInfo(value); |
| 120700 | } |
| 120701 | } |
| 120702 | return value; |
| 120703 | } |
| 120704 | function convertToReusableDiagnostics(diagnostics, relativeToBuildInfo) { |
| 120705 | ts.Debug.assert(!!diagnostics.length); |
| 120706 | return diagnostics.map(function (diagnostic) { |
no test coverage detected
searching dependent graphs…