提交 c5af2d8b 编写于 作者: S Sandeep Somavarapu

fix tests

上级 670788a4
......@@ -145,14 +145,14 @@ class Extension implements IExtension {
if (this.type === ExtensionType.System && this.local) {
if (this.local.manifest && this.local.manifest.contributes) {
if (Array.isArray(this.local.manifest.contributes.themes) && this.local.manifest.contributes.themes.length) {
return require.toUrl('../electron-browser/media/theme-icon.png');
return require.toUrl('../browser/media/theme-icon.png');
}
if (Array.isArray(this.local.manifest.contributes.grammars) && this.local.manifest.contributes.grammars.length) {
return require.toUrl('../electron-browser/media/language-icon.svg');
return require.toUrl('../browser/media/language-icon.svg');
}
}
}
return require.toUrl('../electron-browser/media/defaultIcon.png');
return require.toUrl('../browser/media/defaultIcon.png');
}
get repository(): string | undefined {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册