From 6a723026b2ed5aaa44d73a4516b7a3b4d837c163 Mon Sep 17 00:00:00 2001 From: xizhao Date: Mon, 5 Mar 2018 19:38:51 -0800 Subject: [PATCH] fix(golang): do not error on lack of vendor folder --- builders/golang.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/builders/golang.go b/builders/golang.go index 379b4437ef..ab7067ae59 100644 --- a/builders/golang.go +++ b/builders/golang.go @@ -575,12 +575,6 @@ func (builder *GoBuilder) IsBuilt(m module.Module, allowUnresolved bool) (bool, } } - // Check for vendored dependencies - if ok, err := hasFile(projectFolder, "vendor"); err != nil || !ok { - goLogger.Debugf("Checking Go build failed: no `vendor` folder found") - return false, err - } - goLogger.Debugf("Done checking Go build: %#v", true) return true, nil }