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

Fix #18164

上级 d4f42817
...@@ -125,7 +125,7 @@ export class PreferencesService extends Disposable implements IPreferencesServic ...@@ -125,7 +125,7 @@ export class PreferencesService extends Disposable implements IPreferencesServic
openWorkspaceSettings(): TPromise<void> { openWorkspaceSettings(): TPromise<void> {
if (!this.contextService.hasWorkspace()) { if (!this.contextService.hasWorkspace()) {
this.messageService.show(Severity.Info, nls.localize('openFolderFirst', "Open a folder first to create workspace settings")); this.messageService.show(Severity.Info, nls.localize('openFolderFirst', "Open a folder first to create workspace settings"));
return; return TPromise.as(null);
} }
return this.openSettings(ConfigurationTarget.WORKSPACE); return this.openSettings(ConfigurationTarget.WORKSPACE);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册