From 1285404a93bac9991195a64d93070ae0131b9e42 Mon Sep 17 00:00:00 2001 From: Azareal Date: Sun, 29 Sep 2019 17:34:54 +1000 Subject: [PATCH] Let's try a different approach. --- update-deps-linux | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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