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

@@ -8,7 +8,7 @@ import * as Contracts from '../models/contracts';
import { ISerialization } from './iserialization';
import { SqlToolsServiceClient } from 'extensions-modules';
import * as data from 'data';
import { LanguageClient } from 'dataprotocol-client';
import { SqlOpsDataClient } from 'dataprotocol-client';
import * as path from 'path';
/**
@@ -16,7 +16,7 @@ import * as path from 'path';
*/
export class Serialization implements ISerialization {
constructor(private _client?: SqlToolsServiceClient, private _languageClient?: LanguageClient) {
constructor(private _client?: SqlToolsServiceClient, private _languageClient?: SqlOpsDataClient) {
if (!this._client) {
this._client = SqlToolsServiceClient.getInstance(path.join(__dirname, '../config.json'));
}