mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 01:25:37 -05:00
Pass connectionid to registered commands from command line (#3861)
* pass connectionid to registered commands from commandline * remove blank lines * fix commandline unit test
This commit is contained in:
@@ -111,7 +111,7 @@ export class CommandLineService implements ICommandLineProcessing {
|
||||
} else {
|
||||
self._connectionManagementService.connectIfNotConnected(self._connectionProfile, 'connection', true)
|
||||
.then(() => {
|
||||
self._commandService.executeCommand(self._commandName, self._connectionProfile).then(() => resolve(), error => reject(error));
|
||||
self._commandService.executeCommand(self._commandName, self._connectionProfile.id).then(() => resolve(), error => reject(error));
|
||||
}, error => {
|
||||
reject(error);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user