lib/mutx/tasks/task.rb in mutx-0.1.17 vs lib/mutx/tasks/task.rb in mutx-0.1.18
- old
+ new
@@ -55,10 +55,10 @@
@cucumber_report = task_data["cucumber_report"]
@max_execs = task_data["max_execs"] || Mutx::Support::Configuration.maximum_execs_per_task
@cronneable = task_data["cronneable"]
@cron_time = task_data["cron_time"]
@mail = task_data["mail"]
- @subject = task_data["subject"]
+ @subject = task_data["subject"] || ""
@notifications = task_data["notifications"]
@last_exec_time = task_data["last_exec_time"]
@application = task_data["application"] || "command line"
else
Mutx::Support::Log.error "Creting task object. Argument is not a hash" if Mutx::Support::Log
\ No newline at end of file