Skip to content

Commit

Permalink
[plugin ] Fix Converting circular structure to JSON Error in tree-view
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
  • Loading branch information
vinokurig committed Aug 8, 2019
1 parent 11978cc commit 03604f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/plugin-ext/src/plugin/tree/tree-views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ class TreeViewExtImpl<T> extends Disposable {
}
}

if (treeItem.command) {
treeItem.command.arguments = [id];
}
const treeViewItem = {
id,
label: label,
Expand Down

0 comments on commit 03604f0

Please sign in to comment.