Skip to content

Commit 13c33b8

Browse files
authored
Update commit-current-user-check.sh (github#293)
Adding '$' to the GHE_URL variable at line 28 so it prints out full path.
1 parent 1f7fbb2 commit 13c33b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre-receive-hooks/commit-current-user-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ GITHUB_USER_EMAIL=`curl -s -k -u ${TOKEN} ${GHE_URL}/api/v3/users/${GITHUB_USER_
2525
if echo "${GITHUB_USER_EMAIL}" | grep "null,"
2626
then
2727
echo -e "ERROR: User does not have public email address set in GitHub Enterprise."
28-
echo "Please set public email address at {GHE_URL}/settings/profile."
28+
echo "Please set public email address at ${GHE_URL}/settings/profile."
2929
exit 1
3030
fi
3131

0 commit comments

Comments
 (0)