Method: Fastlane::FastFile.sh
- Defined in:
- fastlane/lib/fastlane/fast_file.rb
.sh(*command, step_name: nil, log: true, error_callback: nil, &b) ⇒ Object
220 221 222 223 224 225 226 227 |
# File 'fastlane/lib/fastlane/fast_file.rb', line 220 def self.sh(*command, step_name: nil, log: true, error_callback: nil, &b) command_header = step_name 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 |