提交 31d1c4c4 编写于 作者: M Matt Bierner

Show error message in TS Version picker when TS verison cannot be loaded

Fixes #31846
上级 59191653
......@@ -49,7 +49,8 @@ export class TypeScriptVersion {
public get versionString(): string {
const version = this.version;
return version ? version.versionString : this.path;
return version ? version.versionString : localize(
'couldNotLoadTsVersion', 'Could not load the TypeScript version at this path');
}
private getTypeScriptVersion(serverPath: string): API | undefined {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册