mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
WIP, need to lint
This commit is contained in:
@@ -260,6 +260,16 @@ namespace ts {
|
||||
const configFileCache = createConfigFileCache(host);
|
||||
|
||||
function getUpToDateStatus(project: ParsedCommandLine, context: BuildContext): UpToDateStatus {
|
||||
const prior = context.projectStatus.getValueOrUndefined(project.options.configFilePath);
|
||||
if (prior !== undefined) {
|
||||
return prior;
|
||||
}
|
||||
const actual = getUpToDateStatusWorker(project, context);
|
||||
context.projectStatus.setValue(project.options.configFilePath, actual);
|
||||
return actual;
|
||||
}
|
||||
|
||||
function getUpToDateStatusWorker(project: ParsedCommandLine, context: BuildContext): UpToDateStatus {
|
||||
let newestInputFileName: string = '???';
|
||||
let newestInputFileTime = MinimumDate;
|
||||
// Get timestamps of input files
|
||||
@@ -381,6 +391,6 @@ namespace ts {
|
||||
|
||||
return {
|
||||
getUpToDateStatus
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user