Skip to content

Commit

Permalink
Going from untitled to saved workspace should not show message again (f…
Browse files Browse the repository at this point in the history
…ixes #37303)
  • Loading branch information
bpasero authored and egamma committed Oct 31, 2017
1 parent a3491b0 commit 2992154
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,10 @@ export class WorkspaceEditingService implements IWorkspaceEditingService {
if (result) {
return this.migrate(result.workspace).then(() => {

// Show message to user (once)
this.informUserOnce(); // TODO@Ben remove me after a couple of releases
// Show message to user (once) if entering workspace state
if (this.contextService.getWorkbenchState() !== WorkbenchState.WORKSPACE) {
this.informUserOnce(); // TODO@Ben remove me after a couple of releases
}

// Reinitialize backup service
const backupFileService = this.backupFileService as BackupFileService; // TODO@Ben ugly cast
Expand Down

0 comments on commit 2992154

Please sign in to comment.