Add warning for unhandled case
This commit is contained in:
parent
0b8ac34ae8
commit
f3d26484d2
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -246,10 +246,12 @@ jobs:
|
|||
return hm.requires.flatMap(i =>
|
||||
metadata.interconnects[i].boards.flatMap(b => boardAndShield(b, hm))
|
||||
);
|
||||
} else {
|
||||
console.warn("Unhandled shield without keys");
|
||||
return [];
|
||||
}
|
||||
break;
|
||||
case "interconnect":
|
||||
default:
|
||||
return [];
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue