提交 886e308f 编写于 作者: M Martin Aeschlimann

[themeservice] fix missing return

上级 68ac04ba
......@@ -613,7 +613,7 @@ function _loadThemeDocument(themePath: string) : TPromise<ThemeDocument> {
return TPromise.as(contentValue);
}
try {
TPromise.as(plist.parse(content.toString()));
return TPromise.as(plist.parse(content.toString()));
} catch (e) {
return TPromise.wrapError(new Error(nls.localize('error.cannotparse', "Problems parsing plist file: {0}", e.message)));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册