refactor(git-hooks): use long set names

Use the long name versions for `set` to be consistent with `run` files.
This commit is contained in:
Oliver Davies 2023-11-23 07:04:58 +00:00
parent 8eb8a9d6e3
commit ebc4d899b2
3 changed files with 8 additions and 2 deletions

View file

@ -11,7 +11,9 @@
# This also works with multiple issue IDs in the same string, e.g.
# "OD-123 OD-456", or IDs on multiple lines.
set -euo pipefail
set -o errexit
set -o nounset
set -o pipefail
PROJECT_DIR=$(git rev-parse --show-toplevel)
ISSUE_FILE="$PROJECT_DIR/.issue-id"