Skip to content

Commit f2d93d7

Browse files
committed
Correct issue with empty split separator
1 parent 4a86db8 commit f2d93d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ def main():
263263
publication_host = os.environ["PUBLICATION_HOST"]
264264

265265
# Convert the space-separated strings to lists
266-
changed_files = os.environ.get("CHANGED_FILES", "").split("")
267-
deleted_files = os.environ.get("DELETED_FILES", "").split("")
266+
changed_files = os.environ.get("CHANGED_FILES", "").split()
267+
deleted_files = os.environ.get("DELETED_FILES", "").split()
268268

269269
repo = os.environ["GITHUB_REPOSITORY"]
270270
branch = os.environ["GITHUB_REF"].split("/")[-1]

0 commit comments

Comments
 (0)