minhajuddin/taskr — Issue #3: deleted task now taskr won't run
Author: fxdgear
Created: 2011-12-12 18:49:49+00:00
State: open

I created a task, just a test one, then I deleted it.

now when ever I run taskr it errors with the following traceback:

$ bin/taskr
/Users/nicklang/.taskr-code/lib/taskr/task.rb:57:in `priority_text': undefined method `match' for nil:NilClass (NoMethodError)
from /Users/nicklang/.taskr-code/lib/taskr/task.rb:41:in `priority'
from /Users/nicklang/.taskr-code/lib/taskr/task_list.rb:5:in `block in initialize'
from /Users/nicklang/.taskr-code/lib/taskr/task_list.rb:5:in `each'
from /Users/nicklang/.taskr-code/lib/taskr/task_list.rb:5:in `sort_by'
from /Users/nicklang/.taskr-code/lib/taskr/task_list.rb:5:in `initialize'
from /Users/nicklang/.taskr-code/lib/taskr/runner.rb:5:in `new'
from /Users/nicklang/.taskr-code/lib/taskr/runner.rb:5:in `execute'
from bin/taskr:18:in `

my ruby skills are none :( so I'm not really sure what's going on here...