return true/false
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
08b122ea2c
commit
3937902a7d
|
@ -463,14 +463,14 @@ func (rs *RepoStatus) CheckGoSum() (bool, string) {
|
|||
return true, ""
|
||||
}
|
||||
|
||||
func (rs *RepoStatus) MakeRedomod() {
|
||||
func (rs *RepoStatus) MakeRedomod() bool {
|
||||
var err error
|
||||
var b bool
|
||||
var output string
|
||||
var worked bool = true
|
||||
if rs.ReadOnly() {
|
||||
log.Log(WARN, "will not go mod redo read only repos", rs.String())
|
||||
return
|
||||
return false
|
||||
}
|
||||
|
||||
os.Unsetenv("GO111MODULE")
|
||||
|
@ -495,6 +495,7 @@ func (rs *RepoStatus) MakeRedomod() {
|
|||
} else {
|
||||
log.Log(WARN, "MakeRedomod() failed", path)
|
||||
}
|
||||
return worked
|
||||
}
|
||||
|
||||
func (rs *RepoStatus) ReadOnly() bool {
|
||||
|
|
Loading…
Reference in New Issue