Add back Azure Resource Explorer extension with updated build script (#2805)

* Revert "Revert "Port the Azure Resource Explorer extension to core." (#2770)"

This reverts commit 210447cd37.

* WIP1

* Add custom build task for azurecore extension

* Fix azurecore output path for macOS build

* Fix linux gulp task name
This commit is contained in:
Karl Burtram
2018-10-09 19:43:55 -07:00
committed by GitHub
parent 34f6811eea
commit c3a81b5bf3
71 changed files with 4001 additions and 11 deletions

View File

@@ -1351,8 +1351,12 @@ export class ConnectionManagementService extends Disposable implements IConnecti
* TODO this could be a map reduce operation
*/
public buildConnectionInfo(connectionString: string, provider: string): Thenable<sqlops.ConnectionInfo> {
return this._providers.get(provider).onReady.then(e => {
return e.buildConnectionInfo(connectionString);
});
let connectionProvider = this._providers.get(provider);
if (connectionProvider) {
return connectionProvider.onReady.then(e => {
return e.buildConnectionInfo(connectionString);
});
}
return Promise.resolve(undefined);
}
}