Fix one more ts cancelation token gating issue

This commit is contained in:
Matt Bierner
2017-03-22 17:03:48 -07:00
parent 5b6dfc0293
commit 4c3cdfbb5b

View File

@@ -905,7 +905,7 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
}
}
if (this.apiVersion.has220Features() && this.cancellationPipeName) {
if (this.apiVersion.has222Features() && this.cancellationPipeName) {
if (this.trace !== Trace.Off) {
this.logTrace(`TypeScript Service: trying to cancel ongoing request with sequence number ${seq}`);
}