From f6c9c2f9d48018eadef3c1837a2f2092e43662ab Mon Sep 17 00:00:00 2001 From: Jeremy Woertink Date: Thu, 17 Aug 2023 12:58:46 -0700 Subject: [PATCH] Revert this change because it causes lucky -h to no longer see any tasks (#20) --- src/lucky_task/task.cr | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lucky_task/task.cr b/src/lucky_task/task.cr index b53a3a2..dc42279 100644 --- a/src/lucky_task/task.cr +++ b/src/lucky_task/task.cr @@ -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