service: fix API compatibility break
This commit is contained in:
parent
6ac868a035
commit
a3c96126cf
@ -538,9 +538,7 @@ module Homebrew
|
|||||||
linux: (service_name if service_name != default_service_name),
|
linux: (service_name if service_name != default_service_name),
|
||||||
}.compact
|
}.compact
|
||||||
|
|
||||||
unless command?
|
return { name: name_params }.compact_blank if @run_params.blank?
|
||||||
return name_params.blank? ? {} : { name: name_params }
|
|
||||||
end
|
|
||||||
|
|
||||||
cron_string = if @cron.present?
|
cron_string = if @cron.present?
|
||||||
[:Minute, :Hour, :Day, :Month, :Weekday]
|
[:Minute, :Hour, :Day, :Month, :Weekday]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user