From 994eeb4270370859c0f5ed2be1f7fd48715c593f Mon Sep 17 00:00:00 2001 From: HassanBahati Date: Sat, 16 Nov 2024 20:38:10 +0300 Subject: [PATCH] fix: strip trailing spaces --- action.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yaml b/action.yaml index 81c8f15..e2c14c6 100644 --- a/action.yaml +++ b/action.yaml @@ -54,6 +54,9 @@ runs: else echo "No spaces detected in emulators list." fi + + # Remove trailing comma if it exists + EMULATORS=$(echo "$EMULATORS" | sed 's/,$//') # Output the result for debugging purposes echo "Stripped emulators list: $EMULATORS"