From e383cf6e1f3133eec7caa60690f751e30af658b5 Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Fri, 19 Jul 2024 11:23:58 +0200 Subject: [PATCH] fix(arduino-cli): typos Signed-off-by: Frederic Pillon --- CI/build/arduino-cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CI/build/arduino-cli.py b/CI/build/arduino-cli.py index 9af0f81838..a2784fbdd9 100644 --- a/CI/build/arduino-cli.py +++ b/CI/build/arduino-cli.py @@ -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"])