lib/foreman_tasks/dynflow/daemon.rb in foreman-tasks-0.9.2 vs lib/foreman_tasks/dynflow/daemon.rb in foreman-tasks-0.9.3

- old
+ new

@@ -55,10 +55,10 @@ require 'daemons' rescue LoadError raise "You need to add gem 'daemons' to your Gemfile if you wish to use it." end - unless %w(start stop restart run).include?(command) + unless %w[start stop restart run].include?(command) raise "Command exptected to be 'start', 'stop', 'restart', 'run', was #{command.inspect}" end STDERR.puts("Dynflow Executor: #{command} in progress")