fastlane/lib/fastlane/fast_file.rb in fastlane-2.69.0.beta.20171212010004 vs fastlane/lib/fastlane/fast_file.rb in fastlane-2.69.0

- old
+ new

@@ -173,10 +173,14 @@ Actions.load_external_actions(path) end # Execute shell command def sh(*command, log: true, error_callback: nil, &b) + FastFile.sh(*command, log: log, error_callback: error_callback, &b) + end + + def self.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, &b) end end @@ -390,10 +394,10 @@ # Overwrite this, since there is already a 'test' method defined in the Ruby standard library self.runner.try_switch_to_lane(:test, [params]) end def action_launched(action_name) - action_launch_context = FastlaneCore::ActionLaunchContext.context_for_action_name(action_name, args: ARGV) + action_launch_context = FastlaneCore::ActionLaunchContext.context_for_action_name(action_name, configuration_language: "ruby", args: ARGV) FastlaneCore.session.action_launched(launch_context: action_launch_context) end def action_completed(action_name, status: nil) completion_context = FastlaneCore::ActionCompletionContext.context_for_action_name(action_name, args: ARGV, status: status)