Skip to content

Commit 3db409d

Browse files
committed
fix(boards): Fix size validation
1 parent a255559 commit 3db409d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/validate_board.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ validate_partition_scheme_size() {
267267
else
268268
# No size in main description, check bracket content
269269
local bracket_content
270-
bracket_content=$(echo "$description_text" | grep -oE '\([^)]+\)' | head -1)
270+
bracket_content=$(echo "$description_text" | grep -oE '\([^)]+\)' | head -1 || true)
271271

272272
if [ -n "$bracket_content" ]; then
273273
# Calculate total size from all components in brackets

0 commit comments

Comments
 (0)