diff --git a/update-deps-linux b/update-deps-linux index 9ead3940..dbd8b60f 100644 --- a/update-deps-linux +++ b/update-deps-linux @@ -4,16 +4,13 @@ echo "Updating the dependencies" } || { echo "Failed to copy bundled generated easyjson file" } -go get + { + $GO111MODULE = off + go get -u github.com/mailru/easyjson/... easyjson -pkg common } || { echo "Defaulting to bundled generated easyjson file" } - -{ - go get -} || { - go get -u github.com/mailru/easyjson/... - go get -} \ No newline at end of file +$GO111MODULE = auto +go get \ No newline at end of file