ci: set app_list to empty list when not None

This commit is contained in:
Fu Hanxi
2025-02-14 14:04:18 +01:00
parent b4af220c1e
commit 11142cffb3

View File

@@ -78,7 +78,7 @@ class IdfPytestEmbedded:
self.apps_list = (
[os.path.join(idf_relpath(app.app_dir), app.build_dir) for app in apps if app.build_status == BuildStatus.SUCCESS]
if apps
if apps is not None
else None
)