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),
|
||||
}.compact
|
||||
|
||||
unless command?
|
||||
return name_params.blank? ? {} : { name: name_params }
|
||||
end
|
||||
return { name: name_params }.compact_blank if @run_params.blank?
|
||||
|
||||
cron_string = if @cron.present?
|
||||
[:Minute, :Hour, :Day, :Month, :Weekday]
|
||||
|
Loading…
x
Reference in New Issue
Block a user