Skip to content

Commit

Permalink
fix(golang): do not error on lack of vendor folder
Browse files Browse the repository at this point in the history
  • Loading branch information
xizhao committed Mar 6, 2018
1 parent 869df5a commit 6a72302
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions builders/golang.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 6a72302

Please sign in to comment.