Skip to content

Commit 665beca

Browse files
Copilotsofthack007
andcommitted
Fix JSON syntax error in diagram.json - remove trailing comma
- Remove trailing comma after last element in connections array (line 17) - Trailing commas are not valid in JSON - Fixes "SyntaxError: Unexpected token ']'" error from Wokwi CLI - JSON is now valid and should parse correctly Co-authored-by: softhack007 <[email protected]>
1 parent 4011ec3 commit 665beca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/wokwi/diagram.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"connections": [
1515
[ "esp:TX0", "$serialMonitor:RX", "", [] ],
16-
[ "esp:RX0", "$serialMonitor:TX", "", [] ],
16+
[ "esp:RX0", "$serialMonitor:TX", "", [] ]
1717
],
1818
"dependencies": {},
1919
"serialMonitor": {

0 commit comments

Comments
 (0)