Don't believe prepend projects are UTUTD
This commit is contained in:
parent
73309c9282
commit
ce936ca88f
|
@ -773,8 +773,10 @@ namespace ts {
|
||||||
}
|
}
|
||||||
|
|
||||||
let pseudoUpToDate = false;
|
let pseudoUpToDate = false;
|
||||||
|
let usesPrepend = false;
|
||||||
if (project.projectReferences) {
|
if (project.projectReferences) {
|
||||||
for (const ref of project.projectReferences) {
|
for (const ref of project.projectReferences) {
|
||||||
|
usesPrepend = usesPrepend || ref.prepend;
|
||||||
const resolvedRef = resolveProjectReferencePath(compilerHost, ref) as ResolvedConfigFileName;
|
const resolvedRef = resolveProjectReferencePath(compilerHost, ref) as ResolvedConfigFileName;
|
||||||
const refStatus = getUpToDateStatus(configFileCache.parseConfigFile(resolvedRef));
|
const refStatus = getUpToDateStatus(configFileCache.parseConfigFile(resolvedRef));
|
||||||
|
|
||||||
|
@ -832,6 +834,10 @@ namespace ts {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (usesPrepend) {
|
||||||
|
psuedoUpToDate = false;
|
||||||
|
}
|
||||||
|
|
||||||
// Up to date
|
// Up to date
|
||||||
return {
|
return {
|
||||||
type: pseudoUpToDate ? UpToDateStatusType.UpToDateWithUpstreamTypes : UpToDateStatusType.UpToDate,
|
type: pseudoUpToDate ? UpToDateStatusType.UpToDateWithUpstreamTypes : UpToDateStatusType.UpToDate,
|
||||||
|
|
Loading…
Reference in a new issue