diff options
Diffstat (limited to 'doNormal.go')
| -rw-r--r-- | doNormal.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doNormal.go b/doNormal.go index 9075b82..242a7be 100644 --- a/doNormal.go +++ b/doNormal.go @@ -35,7 +35,7 @@ func doNormal() bool { } repo := me.forge.Repos.FindByFullPath(path) if stat.Err == ErrorLocalDevelBranch { - if argv.Normal.Fix != nil { + if argv.Fix { bname := repo.GetDevelBranchName() s := fmt.Sprintf("repair the %s branch on %s", bname, repo.FullPath) if fhelp.QuestionUser(s) { @@ -47,7 +47,7 @@ func doNormal() bool { } } if stat.Err == ErrorLocalMasterBranch { - if argv.Normal.Fix != nil { + if argv.Fix { bname := repo.GetMasterBranchName() s := fmt.Sprintf("repair the %s branch on %s", bname, repo.FullPath) if fhelp.QuestionUser(s) { |
