Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ab3a1f

Browse files
committed
Fix: PROJECT_ROOT
1 parent 73a7013 commit 7ab3a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/apidocgen/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ trap cleanup EXIT
1717

1818
log "Use temporary file: ${API_MD_TMP_FILE}"
1919

20-
pushd "${APIDOCGEN_DIR}/../.."
20+
pushd "${PROJECT_ROOT}"
2121
go run github.com/swaggo/swag/cmd/[email protected] init \
2222
--generalInfo="coderd.go" \
2323
--dir="./coderd,./codersdk" \

0 commit comments

Comments
 (0)