lib/bolt/shell/bash.rb in bolt-2.29.0 vs lib/bolt/shell/bash.rb in bolt-2.30.0
- old
+ new
@@ -141,10 +141,10 @@
dir.chown(run_as)
execute_options[:stdin] = stdin
execute_options[:sudoable] = true if run_as
- output = execute(remote_task_path, execute_options)
+ output = execute(remote_task_path, **execute_options)
end
Bolt::Result.for_task(target, output.stdout.string,
output.stderr.string,
output.exit_code,
task.name)