Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Fix shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
masutaka committed Feb 8, 2019
1 parent 4cff0f2 commit 1901182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1901182

Please sign in to comment.