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

- old
+ new

@@ -172,14 +172,13 @@ Actions.load_external_actions(path) end # Execute shell command - def sh(command, log: true, error_callback: nil) - command = Shellwords.join(command) if command.kind_of?(Array) - command_header = log ? command : "shell command" + def sh(*command, log: true, error_callback: nil) + 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) end end def desc(string) desc_collection << string