Skip to content

Commit 38072a1

Browse files
committed
no default value for support_matrix[board_id]
will raise an error during build if things as not as expected as suggested by @jepler
1 parent f143e5d commit 38072a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/build_board_info.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ def generate_download_info():
301301
board_files = os.listdir(board_path.path)
302302
board_id = board_path.name
303303
board_info = board_mapping[board_id]
304-
board_modules = support_matrix.get(board_id, "[]")
305304

306305
for alias in [board_id] + board_info["aliases"]:
307306
alias_info = board_mapping[alias]
@@ -312,7 +311,7 @@ def generate_download_info():
312311
new_version = {
313312
"stable": new_stable,
314313
"version": new_tag,
315-
"modules": board_modules,
314+
"modules": support_matrix[board_id],
316315
"languages": languages,
317316
"extensions": board_info["extensions"],
318317
}

0 commit comments

Comments
 (0)