diff --git a/examples/chef/chef.py b/examples/chef/chef.py index bfd2f68cb9de23..7b09137b8664a6 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -352,10 +352,10 @@ def main(argv: Sequence[str]) -> None: flush_print(f"Generating files in {_CHEF_ZZZ_ROOT} for all devices") for device_name in _DEVICE_LIST: flush_print(f"Generating files for {device_name}") - device_out_dir = os.path.join(_CHEF_ZZZ_ROOT, device_name) - os.mkdir(device_out_dir) - device_out_dir = os.path.join(device_out_dir, "zap-generated") - os.mkdir(device_out_dir) + device_out_dir = os.path.join(_CHEF_ZZZ_ROOT, + device_name, + "zap-generated") + os.makedirs(device_out_dir) shell.run_cmd(textwrap.dedent(f"""\ {_REPO_BASE_PATH}/scripts/tools/zap/generate.py \ {_CHEF_SCRIPT_PATH}/devices/{device_name}.zap -o {device_out_dir}""")) diff --git a/examples/chef/cimanifest.json b/examples/chef/cimanifest.json index bd7a8e787dfa5e..4392775765dc48 100644 --- a/examples/chef/cimanifest.json +++ b/examples/chef/cimanifest.json @@ -1,6 +1,6 @@ { - "devices": { - "lighting-app": "81a1262e611fab1a71ac4129b91cec0f" - }, - "zap_commit": "TEMP DISABLED" + "devices": { + "lighting-app": "81a1262e611fab1a71ac4129b91cec0f" + }, + "zap_commit": "TEMP DISABLED" }