fastlane/lib/fastlane/fast_file.rb in fastlane-2.69.0.beta.20171208010004 vs fastlane/lib/fastlane/fast_file.rb in fastlane-2.69.0.beta.20171209010003

- old
+ new

@@ -172,13 +172,13 @@ Actions.load_external_actions(path) end # Execute shell command - def sh(*command, log: true, error_callback: nil) + def sh(*command, log: true, error_callback: nil, &b) command_header = log ? Actions.shell_command_from_args(*command) : "shell command" Actions.execute_action(command_header) do - Actions.sh_no_action(*command, log: log, error_callback: error_callback) + Actions.sh_no_action(*command, log: log, error_callback: error_callback, &b) end end def desc(string) desc_collection << string