jetbrains: make update script robust against if no channels exist
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
committed by
Weijia Wang
co-authored by
Weijia Wang
parent
ba5a966863
commit
618d0459eb
@@ -31,6 +31,7 @@ def download_channels():
|
||||
return {
|
||||
channel["@name"]: channel
|
||||
for product in products
|
||||
if "channel" in product
|
||||
for channel in one_or_more(product["channel"])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user