From 19011821626196635e739187a89f3088d579b268 Mon Sep 17 00:00:00 2001 From: Takashi Masuda Date: Fri, 8 Feb 2019 14:37:40 +0900 Subject: [PATCH] Fix shellcheck --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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