(state, proj, priorNewestUpdateTime, verboseMessage, skipOutputs)
| 125132 | return actual; |
| 125133 | } |
| 125134 | function updateOutputTimestampsWorker(state, proj, priorNewestUpdateTime, verboseMessage, skipOutputs) { |
| 125135 | if (proj.options.noEmit) |
| 125136 | return priorNewestUpdateTime; |
| 125137 | var host = state.host; |
| 125138 | var outputs = ts.getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); |
| 125139 | if (!skipOutputs || outputs.length !== skipOutputs.size) { |
| 125140 | var reportVerbose = !!state.options.verbose; |
| 125141 | var now = host.now ? host.now() : new Date(); |
| 125142 | for (var _i = 0, outputs_2 = outputs; _i < outputs_2.length; _i++) { |
| 125143 | var file = outputs_2[_i]; |
| 125144 | if (skipOutputs && skipOutputs.has(toPath(state, file))) { |
| 125145 | continue; |
| 125146 | } |
| 125147 | if (reportVerbose) { |
| 125148 | reportVerbose = false; |
| 125149 | reportStatus(state, verboseMessage, proj.options.configFilePath); |
| 125150 | } |
| 125151 | if (ts.isDeclarationFileName(file)) { |
| 125152 | priorNewestUpdateTime = newer(priorNewestUpdateTime, ts.getModifiedTime(host, file)); |
| 125153 | } |
| 125154 | host.setModifiedTime(file, now); |
| 125155 | } |
| 125156 | } |
| 125157 | return priorNewestUpdateTime; |
| 125158 | } |
| 125159 | function updateOutputTimestamps(state, proj, resolvedPath) { |
| 125160 | if (state.options.dry) { |
| 125161 | return reportStatus(state, ts.Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0, proj.options.configFilePath); |
no test coverage detected
searching dependent graphs…