lib/mutx/tasks/task.rb in mutx-0.1.19 vs lib/mutx/tasks/task.rb in mutx-0.1.20
- old
+ new
@@ -100,10 +100,10 @@
"type" => data["type"],
"platform" => data["platform"],
"information" => data["information"],
"cucumber" => data["cucumber"],
"branch" => Mutx::Support::Git.actual_branch,
- "max_execs" => data["max_execs"],
+ "max_execs" => (data["max_execs"] = 1 if data["max_execs"].eql? 0),
"custom_params" => data["custom_params"],
"cronneable" => data["cronneable"],
"cron_time" => data["cron_time"],
"mail" => data["mail"],
"subject" => data["subject"],
\ No newline at end of file