Skip to content

Commit eff596b

Browse files
fix: exit 0 with empty output when no files are provided (#16)
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. Co-authored-by: Ansel Robateau <ansel.robateau@redshelf.com>
1 parent 6e9ead7 commit eff596b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/parse_file_list_for_projects.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
INPUT="$(cat)"
1010

1111
if [ "$INPUT" == "" ]; then
12-
echo "You must provide a list of files"
13-
exit 1
12+
exit 0
1413
fi
1514

1615
if [ "$GIT_CMD" == "" ]; then

0 commit comments

Comments
 (0)