Skip to content

Commit

Permalink
Minor messaging fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbata committed Mar 5, 2021
1 parent 342a56b commit 8ecd2d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/todo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def cleanup(patterns)
items = filter_tasks(tasks, patterns)
items.keys.each do |num| tasks.delete(num) end
write_tasks(tasks)
puts "deleted #{items.size} todo(s)"
puts "Deleted #{items.size} todo(s)"
end

def filter_tasks(tasks, patterns)
Expand Down
2 changes: 1 addition & 1 deletion web/todo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def cleanup(patterns)
items = filter_tasks(tasks, patterns)
items.keys.each do |num| tasks.delete(num) end
write_tasks(tasks)
@text_buffer.push "deleted #{items.size} todo(s)"
@text_buffer.push "Deleted #{items.size} todo(s)"
end

def filter_tasks(tasks, patterns)
Expand Down

0 comments on commit 8ecd2d5

Please sign in to comment.