Skip to content

Commit 05c9cbf

Browse files
committed
some more attempt
Signed-off-by: Humble Chirammal <[email protected]>
1 parent 5690630 commit 05c9cbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hack/verify-spelling.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ if [[ -z "$(command -v misspell)" ]]; then
4040
# perform go get in a temp dir as we are not tracking this version in a go module
4141
# if we do the go get in the repo, it will create / update a go.mod and go.sum
4242
cd "${TMP_DIR}"
43-
GO111MODULE=auto GOBIN="${TMP_DIR}" go get "github.com/client9/misspell/cmd/misspell@${TOOL_VERSION}"
43+
go mod init "${TMP_DIR}"
44+
GO111MODULE=off GOBIN="${TMP_DIR}" go get "github.com/client9/misspell/cmd/misspell@${TOOL_VERSION}"
4445
export PATH="${TMP_DIR}:${PATH}"
4546
fi
4647
cd "${ROOT}"

0 commit comments

Comments
 (0)