Skip to content

Commit 574812a

Browse files
fix(#591): add missing gh cli precheck (#594)
Signed-off-by: Andy Augustin <dev@andreas-augustin.org>
1 parent 2f96e21 commit 574812a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎src/entrypoint.sh‎

Lines changed: 5 additions & 0 deletions
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)