good grief
This commit is contained in:
parent
16f0b731c5
commit
eed26134fd
|
@ -32,9 +32,6 @@ func doClean() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func doCleanUser() error {
|
func doCleanUser() error {
|
||||||
all := me.forge.Repos.SortByFullPath()
|
|
||||||
for all.Scan() {
|
|
||||||
repo := all.Next()
|
|
||||||
if _, count, err := IsEverythingOnMaster(); err != nil {
|
if _, count, err := IsEverythingOnMaster(); err != nil {
|
||||||
if count == 0 {
|
if count == 0 {
|
||||||
log.Info("No repos are on the master branch")
|
log.Info("No repos are on the master branch")
|
||||||
|
@ -44,6 +41,9 @@ func doCleanUser() error {
|
||||||
// return err
|
// return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
all := me.forge.Repos.SortByFullPath()
|
||||||
|
for all.Scan() {
|
||||||
|
repo := all.Next()
|
||||||
if err := doCleanUserRepo(repo); err != nil {
|
if err := doCleanUserRepo(repo); err != nil {
|
||||||
log.Info(repo.GetGoPath(), err)
|
log.Info(repo.GetGoPath(), err)
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue