use default statement
This commit is contained in:
parent
52ea30e9e0
commit
0b8ac34ae8
1 changed files with 2 additions and 1 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -245,10 +245,11 @@ jobs:
|
||||||
if (hm.features && hm.features.includes("keys")) {
|
if (hm.features && hm.features.includes("keys")) {
|
||||||
return hm.requires.flatMap(i =>
|
return hm.requires.flatMap(i =>
|
||||||
metadata.interconnects[i].boards.flatMap(b => boardAndShield(b, hm))
|
metadata.interconnects[i].boards.flatMap(b => boardAndShield(b, hm))
|
||||||
) || [];
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "interconnect":
|
case "interconnect":
|
||||||
|
default:
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue