mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-31 17:20:28 -04:00
Output undefined channel for client (#675)
* added null output channel to the client * potential fix the yarn problems
This commit is contained in:
committed by
Karl Burtram
parent
af9c3d3872
commit
6f21d6e27e
@@ -6,7 +6,7 @@
|
||||
|
||||
import * as Contracts from '../models/contracts';
|
||||
import { SqlToolsServiceClient } from 'extensions-modules';
|
||||
import { LanguageClient } from 'dataprotocol-client';
|
||||
import { SqlOpsDataClient } from 'dataprotocol-client';
|
||||
import * as data from 'data';
|
||||
import * as path from 'path';
|
||||
|
||||
@@ -18,9 +18,9 @@ import * as path from 'path';
|
||||
*/
|
||||
export class AzureResourceProvider implements data.ResourceProvider {
|
||||
|
||||
public languageClient: LanguageClient;
|
||||
public languageClient: SqlOpsDataClient;
|
||||
|
||||
constructor(private _client?: SqlToolsServiceClient, langClient?: LanguageClient) {
|
||||
constructor(private _client?: SqlToolsServiceClient, langClient?: SqlOpsDataClient) {
|
||||
if (!this._client) {
|
||||
this._client = SqlToolsServiceClient.getInstance(path.join(__dirname, '../config.json'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user