diff --git a/examples/chef/chef.py b/examples/chef/chef.py index cf3ef49ae0e85b..1c1f6504c56eba 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -153,6 +153,11 @@ def load_cicd_config() -> Dict[str, Any]: return config +def flush_print(to_print: str) -> None: + """Prints and flushes stdout buffer""" + print(to_print, flush=True) + + def main(argv: Sequence[str]) -> None: check_python_version() config = load_config() @@ -255,7 +260,7 @@ def main(argv: Sequence[str]) -> None: git add examples/chef/zzz_generated git add examples/chef/cimanifes.json Ensure you are running with the latest version of ZAP from master!""" - ci_manifest = generate_device_manifest(_DEVICE_FOLDER) + ci_manifest = generate_device_manifest() with open(_CI_MANIFEST_FILE_NAME, "r", encoding="utf-8") as ci_manifest_file: cached_manifest = json.loads(ci_manifest_file.read()) for device in ci_manifest: