Skip to content

Commit 168eb49

Browse files
Use the same directory for both of the json files
1 parent 5fa54e6 commit 168eb49

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
@@ -342,7 +342,7 @@ def generate_boards_json(input_data, arduino_cli_path, new_boards):
342342

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

345-
Path("boards").mkdir()
345+
Path("boards").mkdir(exist_ok=True)
346346

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

0 commit comments

Comments
 (0)