Skip to content

Commit 910b26b

Browse files
committed
Application Key flag is optional now
1 parent 8874c68 commit 910b26b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/mockgen.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ test -z "${SUB_PACKAGE}" || mkdir -p "${SUB_PACKAGE}"
3030

3131
PROJECT_DIR="${PROJECT_DIR:-}"
3232
echoDebug "Generating mocks for file: ${PWD#${PROJECT_DIR}/}/$FILE"
33-
mockgen -source="${FILENAME}.go" -destination="${SUB_PACKAGE}${FILENAME}_mock.go" "${MOCK_PACKAGE}"
33+
echo "Tools Directory: ${TOOLS_DIR}"
34+
"${TOOLS_DIR}"/mockgen -source="${FILENAME}.go" -destination="${SUB_PACKAGE}${FILENAME}_mock.go" "${MOCK_PACKAGE}"

0 commit comments

Comments
 (0)