Don't leave Whenever comments when clearing

This commit is contained in:
Javan Makhmali 2010-10-25 21:04:17 -04:00
parent 20faaa266d
commit b255926e05

View File

@ -9,7 +9,7 @@ module Whenever
@template = options.delete(:template) @template = options.delete(:template)
@job_template = options.delete(:job_template) || ":job" @job_template = options.delete(:job_template) || ":job"
@options[:output] = Whenever::Output::Redirection.new(options[:output]).to_s if options.has_key?(:output) @options[:output] = Whenever::Output::Redirection.new(options[:output]).to_s if options.has_key?(:output)
@options[:environment] ||= :production #@options[:environment] ||= :production
@options[:path] ||= Whenever.path @options[:path] ||= Whenever.path
end end