@ -107,6 +107,7 @@ func doMain(repo *gitpb.Repo) error {
// skip restore if --force
if argv.Force {
repo.Run([]string{"git", "notes", "remove"})
eraseGoMod(repo)
}
// erase the go.mod and go.sum files
cname := repo.GetCurrentBranchName()