Skip to content

Commit

Permalink
Revert this change because it causes lucky -h to no longer see any ta…
Browse files Browse the repository at this point in the history
…sks (#20)
  • Loading branch information
jwoertink authored Aug 17, 2023
1 parent 0b6fe88 commit f6c9c2f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lucky_task/task.cr
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ abstract class LuckyTask::Task
property option_parser : OptionParser = OptionParser.new
property output : IO = STDOUT

macro finished
{% if !@type.abstract? %}
LuckyTask::Runner.tasks << self.new
{% end %}
end

@[Deprecated("Use `task_name` instead.")]
def name : String
Expand Down

0 comments on commit f6c9c2f

Please sign in to comment.