From 91485db50019baf2c3465f1e117b64abc818eab7 Mon Sep 17 00:00:00 2001 From: JustMe Date: Mon, 5 Oct 2026 10:25:59 -0700 Subject: [PATCH] fix(ci): fall back to git diff for empty path lists [CI SKIP] --- ci/main-fastlane.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()]