lib/idonethis/use_cases/git.rb in idonethis-cli-0.13.2 vs lib/idonethis/use_cases/git.rb in idonethis-cli-0.13.3

- old
+ new

@@ -17,11 +17,11 @@ dirs = dir if dir == FileUtils.pwd view.call "Scanning the current directory <#{dir}>\n\n" else - dirs = fs.modified_today?(dir) - + dirs = fs.modified_today?(dir).select{|dir| git.repo?(dir) } + view.call "Scanning dir <#{dir}>, which has <#{dirs.size}> repositories that have changed today\n\n" end view.call summarise(git, view, since, *dirs) view.call ""