You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: ensure before_script and/or after_script are non-empty before attempting to cast to array
Bash's `readarray` will fail if a value is an empty string.
As such, we need to test that the value returned from `jq` is not empty before attempting to create an array from it.
Additionally, newlines can cause issues, so this adds logic to strip all newlines.
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
0 commit comments