summaryrefslogtreecommitdiff
path: root/doDirty.go
diff options
context:
space:
mode:
Diffstat (limited to 'doDirty.go')
-rw-r--r--doDirty.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/doDirty.go b/doDirty.go
index 0380bd0..bebf456 100644
--- a/doDirty.go
+++ b/doDirty.go
@@ -26,9 +26,7 @@ func straightCheckDirty() int {
var count int
// var total int
// now := time.Now()
- all := me.found.All()
- for all.Scan() {
- repo := all.Next()
+ for repo := range me.found.IterAll() {
// total += 1
if repo.IsDirty() {
count += 1