Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor change to conditional order

  • Loading branch information...
commit e1e28608b8f9d9872e51f437039ddefc0e8de43d 1 parent 673ce84
@stephenmckinney stephenmckinney authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/pomo
View
4 bin/pomo
@@ -315,8 +315,8 @@ command :list do |c|
config = Pomo::Configuration.load
total = 0
list.tasks.each_with_index do |task, i|
- next if !options.all && !options.complete && task.complete?
- next if options.complete && !task.complete?
+ next if task.complete? && !options.all && !options.complete
+ next if !task.complete? && options.complete
say ' %s %2d. %-50s : %d minutes' % [task.complete? ? '' : ' ', i, task.to_s, task.length]
total += task.length
Please sign in to comment.
Something went wrong with that request. Please try again.