diff options
| author | Jeff Carr <[email protected]> | 2024-02-01 13:30:01 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-01 13:30:01 -0600 |
| commit | 3937902a7d77831912b931c49c9d7f37bbecb68b (patch) | |
| tree | f359aaf9e40405950ead9d8bd4eee76a3cd91a52 | |
| parent | 08b122ea2cd31d73d5a9b4c8aa8278b4a5f38364 (diff) | |
return true/falsev0.19.0
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | gitConfig.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gitConfig.go b/gitConfig.go index 611cb7e..e7c581b 100644 --- a/gitConfig.go +++ b/gitConfig.go @@ -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 { |
