Skip to content

Commit

Permalink
fix shared.bash access
Browse files Browse the repository at this point in the history
  • Loading branch information
franklychilled committed Feb 23, 2024
1 parent 5bf63e2 commit d2dafdb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hooks/command
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# Add excecuting permission to run
# git update-index --chmod=+x hooks/command

if [ -z "$DIR" ]
then
DIR="$(pwd)/hooks"
fi

# shellcheck source=lib/shared.bash
. "/plugin/lib/shared.bash"
. "$DIR/../lib/shared.bash"

TOKEN_ENV_NAME="$(plugin_read_config SLACK_TOKEN_ENV_NAME "SLACK_TOKEN")"

Expand Down

0 comments on commit d2dafdb

Please sign in to comment.