lib/rundock/builder/operation_builder.rb in rundock-1.2.0 vs lib/rundock/builder/operation_builder.rb in rundock-1.2.1

- old
+ new

@@ -105,10 +105,10 @@ def build_operations(ope_type, ope_content, node_attributes, cli_options, recursive) cli_options = {} if cli_options.nil? if cli_options[:command] && - (ope_type == :command || ope_type == :task) + %i[command task].include?(ope_type) Logger.debug(%("--command or -c" option is specified and ignore scenario file.)) return end unless recursive