Skip to content

Commit 574812a

Browse files
fix(#591): add missing gh cli precheck (#594)
Signed-off-by: Andy Augustin <[email protected]>
1 parent 2f96e21 commit 574812a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/entrypoint.sh

+5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ if [[ -z "${HOME}" ]]; then
2727
exit 1
2828
fi
2929

30+
if ! [ -x "$(command -v gh)" ]; then
31+
err "github-cli gh is not installed. 'https://github.com/cli/cli'";
32+
exit 1;
33+
fi
34+
3035
############################################
3136
# Variables
3237
############################################

0 commit comments

Comments
 (0)