remove old versions
This commit is contained in:
parent
6e5fbd4c33
commit
dd258155df
6
main.go
6
main.go
|
@ -106,7 +106,7 @@ func main() {
|
||||||
// update go.sum and go.mod
|
// update go.sum and go.mod
|
||||||
// todo: only do this if they don't exist?
|
// todo: only do this if they don't exist?
|
||||||
// todo: make these git commit metadata
|
// todo: make these git commit metadata
|
||||||
newr.Status.MakeRedomod()
|
newr.MakeRedoMod()
|
||||||
|
|
||||||
// double check it actually downloaded
|
// double check it actually downloaded
|
||||||
fullgitdir := filepath.Join(goSrcPath, argv.Repo, ".git")
|
fullgitdir := filepath.Join(goSrcPath, argv.Repo, ".git")
|
||||||
|
@ -167,7 +167,7 @@ func main() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// always do this for now. probably always forever
|
// always do this for now. probably always forever
|
||||||
repo.Status.MakeRedomod()
|
repo.MakeRedoMod()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@ func main() {
|
||||||
loop := rv.ReposSortByName()
|
loop := rv.ReposSortByName()
|
||||||
for loop.Scan() {
|
for loop.Scan() {
|
||||||
repo := loop.Repo()
|
repo := loop.Repo()
|
||||||
repo.Status.MakeRedomod()
|
repo.MakeRedoMod()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue