From 82b6f5c50839f5bd800f13828bdba3c7d683818b Mon Sep 17 00:00:00 2001 From: Ansel Robateau Date: Mon, 4 May 2026 17:14:15 -0500 Subject: [PATCH] fix: exit 0 with empty output when no files are provided MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A PR that only deletes files produces no entries in all_changed_files, resulting in empty input. This is a valid state — treat it as no projects to build rather than an error. --- scripts/parse_file_list_for_projects.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/parse_file_list_for_projects.sh b/scripts/parse_file_list_for_projects.sh index 6024490..2d1babc 100755 --- a/scripts/parse_file_list_for_projects.sh +++ b/scripts/parse_file_list_for_projects.sh @@ -9,8 +9,7 @@ INPUT="$(cat)" if [ "$INPUT" == "" ]; then - echo "You must provide a list of files" - exit 1 + exit 0 fi if [ "$GIT_CMD" == "" ]; then