Method: Fastlane::Actions::CocoapodsAction.call_error_callback
- Defined in:
- fastlane/lib/fastlane/actions/cocoapods.rb
.call_error_callback(params, result) ⇒ Object
39 40 41 42 43 44 45 46 47 |
# File 'fastlane/lib/fastlane/actions/cocoapods.rb', line 39 def self.call_error_callback(params, result) if params[:error_callback] Dir.chdir(FastlaneCore::FastlaneFolder.path) do params[:error_callback].call(result) end else UI.shell_error!(result) end end |