Fix errors

This commit is contained in:
Ryan Cavanaugh
2018-05-22 10:16:24 -07:00
parent 5a9a88320a
commit 18f2baa88b

View File

@@ -502,7 +502,7 @@ namespace ts {
if (project.projectReferences) {
for (const ref of project.projectReferences) {
const resolvedRef = resolveProjectReferencePath(host, ref);
const refStatus = getUpToDateStatus(configFileCache.parseConfigFile(resolvedRef), context);
const refStatus = getUpToDateStatus(configFileCache.parseConfigFile(resolvedRef));
// If the upstream project is out of date, then so are we (someone shouldn't have asked, though?)
if (refStatus.type !== UpToDateStatusType.UpToDate) {
@@ -767,7 +767,7 @@ namespace ts {
let next: string;
while (next = getNext()) {
const proj = configFileCache.parseConfigFile(next);
const status = getUpToDateStatus(proj, context);
const status = getUpToDateStatus(proj);
reportProjectStatus(next, status);
if (status.type === UpToDateStatusType.UpToDate && !context.options.force) {