Updated version mismatch Info message

Per https://github.com/Microsoft/vscode/issues/13284#issuecomment-252186657
This commit is contained in:
Wade Anderson
2016-10-10 08:55:20 -07:00
committed by GitHub
parent 8650a786ee
commit b10d024111

View File

@@ -407,7 +407,7 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
}
if (tscVersion && tscVersion !== version) {
window.showInformationMessage<MyMessageItem>(
localize('versionMismatch', 'A version mismatch between the globally installed tsc compiler ({0}) and VS Code\'s language service ({1}) has been detected. This might result in inconsistent compile errors.', tscVersion, version),
localize('versionMismatch', 'Version mismatch! global tsc ({0}) != VS Code\'s language service ({1}). Inconsistent compile errors might occur', tscVersion, version),
{
title: localize('moreInformation', 'More Information'),
id: 1
@@ -720,4 +720,4 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
}
this.logTrace(`Event received: ${event.event} (${event.seq}).`, data);
}
}
}