Update vscode-nls in notebook and samples, plus fix samples compilation (#4203)

- Upate vscode-nls to 4.0.0 in notebook extension. Should be fix for Insiders build failure due to localization package failing
- Updated samples to remove as vscode-nls if not needed, or update if still needed
- Updated samples using `npm audit fix`
- Fixed compile errors in all the samples
This commit is contained in:
Kevin Cunnane
2019-02-26 12:45:45 -08:00
committed by GitHub
parent e289c06d8d
commit 109aafcbc0
14 changed files with 743 additions and 1029 deletions

View File

@@ -255,7 +255,7 @@ export class TreeNode implements sqlops.TreeComponentItem {
export class TreeDataProvider implements sqlops.TreeComponentDataProvider<TreeNode> {
private _onDidChangeTreeData = new vscode.EventEmitter<TreeNode>();
constructor(private _root: TreeNode) {
if(this._root) {
if (this._root) {
this._root.onTreeChange(node => {
this._onDidChangeTreeData.fire(node);
});