Output undefined channel for client (#675)

* added null output channel to the client

* potential fix the yarn problems
This commit is contained in:
Anthony Dresser
2018-02-12 17:40:26 -08:00
committed by Karl Burtram
parent af9c3d3872
commit 6f21d6e27e
10 changed files with 33 additions and 16 deletions

View File

@@ -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'));
}