diff --git a/ci/main-fastlane.py b/ci/main-fastlane.py index 295b305..0fe6fdb 100644 --- a/ci/main-fastlane.py +++ b/ci/main-fastlane.py @@ -39,7 +39,9 @@ def read_changed_files() -> list[str]: try: value = json.loads(raw) if isinstance(value, list): - return [str(path).replace("\\", "/") for path in value] + changed = [str(path).replace("\\", "/") for path in value] + if changed: + return changed except json.JSONDecodeError: return [path.strip().replace("\\", "/") for path in raw.split(",") if path.strip()]