Skip to content

Commit

Permalink
Don't throw on joinInstances when <= 1 instance selected
Browse files Browse the repository at this point in the history
Part of #10546
  • Loading branch information
Tyriar committed Jun 21, 2021
1 parent fa811c3 commit 64ff30c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ export function registerTerminalActions() {
}
async run(accessor: ServicesAccessor) {
const instances = getSelectedInstances(accessor);
if (instances) {
if (instances && instances.length > 1) {
accessor.get(ITerminalGroupService).joinInstances(instances);
}
}
Expand Down

0 comments on commit 64ff30c

Please sign in to comment.