Skip to content

Commit 8fc2659

Browse files
Use the same directory for both of the json files
1 parent b0e84b2 commit 8fc2659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def generate_boards_json(input_data, arduino_cli_path, new_boards):
341341

342342
boards_json = generate_boards_json(boards, args.arduino_cli, args.new)
343343

344-
Path("boards").mkdir()
344+
Path("boards").mkdir(exist_ok=True)
345345

346346
with open("boards/" + output_file, "w") as f:
347347
json.dump(boards_json, f, indent=2)

0 commit comments

Comments
 (0)