Fix for issue 3133 (#3375)

* Fix for issue 3133

* fix test error
This commit is contained in:
Alan Ren
2018-11-30 15:53:36 -08:00
committed by GitHub
parent 385c48dcad
commit 08d2f3125e
5 changed files with 6 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ export class CommandLineService implements ICommandLineProcessing {
// prompt the user for a new connection on startup if no profiles are registered
this._connectionManagementService.showConnectionDialog();
} else if (this._connectionProfile) {
this._connectionManagementService.connectIfNotConnected(this._connectionProfile, 'connection')
this._connectionManagementService.connectIfNotConnected(this._connectionProfile, 'connection', true)
.then(result => TaskUtilities.newQuery(this._connectionProfile,
this._connectionManagementService,
this._queryEditorService,