提交 250727b5 编写于 作者: I isidor

Output: only change channel when proper channel id is passed

fixes #103496
上级 6445a963
......@@ -115,7 +115,10 @@ registerAction2(class extends Action2 {
});
}
async run(accessor: ServicesAccessor, channelId: string): Promise<void> {
accessor.get(IOutputService).showChannel(channelId);
if (typeof channelId === 'string') {
// Sometimes the action is executed with no channelId parameter, then we should just ignore it #103496
accessor.get(IOutputService).showChannel(channelId);
}
}
});
registerAction2(class extends Action2 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册