lib/bolt/plugin/task.rb in bolt-1.32.0 vs lib/bolt/plugin/task.rb in bolt-1.33.0
- old
+ new
@@ -17,10 +17,10 @@
@context = context
end
def run_task(opts)
params = opts['parameters'] || {}
- options = { '_catch_errors' => true }
+ options = { catch_errors: true }
raise Bolt::ValidationError, "Task plugin requires that the 'task' is specified" unless opts['task']
task = @context.get_validated_task(opts['task'], params)
result = @context.run_local_task(task, params, options).first