diff --git a/entrypoint.sh b/entrypoint.sh index 72ad3ee..571c2e5 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -34,7 +34,7 @@ find_project_id() { -H 'Accept: application/vnd.github.inertia-preview+json' \ "$_ENDPOINT") - if [ $(echo "$_PROJECTS" | jq '. | length == 0') = true ]; then + if [ "$(echo "$_PROJECTS" | jq '. | length == 0')" = true ]; then echo "No project was found." >&2 return 1 fi