Skip to content

Commit 638f5ba

Browse files
committed
Fix: source lib.sh
1 parent cfb86da commit 638f5ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/apidocgen/generate.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# from the coderd API.
55

66
set -euo pipefail
7+
# shellcheck source=../scripts/lib.sh
8+
source "$(dirname "${BASH_SOURCE[0]}")/../lib.sh"
79

810
SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")
911
API_MD_TMP_FILE=$(mktemp /tmp/coder-apidocgen.XXXXXX)
@@ -13,7 +15,7 @@ cleanup() {
1315
}
1416
trap cleanup EXIT
1517

16-
echo "Use temporary file: ${API_MD_TMP_FILE}"
18+
log "Use temporary file: ${API_MD_TMP_FILE}"
1719

1820
(
1921
cd "$SCRIPT_DIR/../.."

0 commit comments

Comments
 (0)