Skip to content

Commit

Permalink
fix(arduino-cli): typos
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <[email protected]>
  • Loading branch information
fpistm committed Jul 19, 2024
1 parent c4b975a commit e383cf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CI/build/arduino-cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,14 @@ def check_config():
cli_config = cli_config["config"]
# Since arduino-cli 1.x config init does not create full config
if "directories" in cli_config.keys():
if "data" in cli_config["directories"].key():
if "data" in cli_config["directories"].keys():
if cli_config["directories"]["data"] is not None:
sketches_path_list.append(
Path(cli_config["directories"]["data"])
)
else:
print("No data directory")
if "user" in cli_config["directories"].key():
if "user" in cli_config["directories"].keys():
if cli_config["directories"]["user"] is not None:
sketches_path_list.append(
Path(cli_config["directories"]["user"])
Expand Down

0 comments on commit e383cf6

Please sign in to comment.