diff options
-rwxr-xr-x | notyet | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/notyet b/notyet index 925722d..5d1633a 100755 --- a/notyet +++ b/notyet @@ -58,11 +58,7 @@ class Entry < Struct.new(:depth, :state, :desc, :file, :line, :children) self.state = "?" end - if state == "x" - force("x") - elsif state == "?" - force("?") - end + force(state) if "?xX".index(state) if desc =~ /^(?:\(.*?\)\s*)?(\d\d\d\d-\d\d-\d\d)/ diff = "%+d" % (Date.parse($1) - TODAY) |