Skip to content

Commit

Permalink
fix(go): allowUnresolved should also suppress lockfile errors for builds
Browse files Browse the repository at this point in the history
See #106
  • Loading branch information
elldritch committed Mar 19, 2018
1 parent 91183e7 commit 019b3d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions builders/golang.go
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,10 @@ func (builder *GoBuilder) IsBuilt(m module.Module, allowUnresolved bool) (bool,
}
goLogger.Debugf("Tracing imports OK")

if allowUnresolved {
return true, nil
}

// Find project folder
projectFolder, hasProject, err := findGoProjectFolder(m.Dir)
if err != nil {
Expand Down

0 comments on commit 019b3d0

Please sign in to comment.