Skip to content

Commit

Permalink
UI.current 不再有用
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerAbyss committed Mar 12, 2018
1 parent 578ef68 commit 7d28175
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fastlane/actions/email.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def self.run(params)
actionurl = params[:actionurl]|| "http://rogerabyss.github.io"
code = params[:code] || ""

UI.current.log.info "开始发送邮件...".green
UI.current.log.info "\n发件人:#{sender}\n收件人:#{reciver}\n邮件标题:#{title}\n邮件内容:#{content}".green
UI.message("开始发送邮件...")
UI.message("\n发件人:#{sender}\n收件人:#{reciver}\n邮件标题:#{title}\n邮件内容:#{content}")

smtp = {
:address => 'smtp.qq.com',
Expand Down
4 changes: 2 additions & 2 deletions fastlane/actions/pod_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module Fastlane
module Actions
class PodUpdateAction < Action
def self.run(params)
Actions.sh "pod install --no-repo-update --verbose"
UI.current.log.info "国内速度太慢,使用--no-repo-update节约大量的时间 ⬆️ ".green
Actions.sh "pod install --no-repo-update --verbose"
UI.message("国内速度太慢,使用--no-repo-update节约大量的时间 ⬆️ ")
end

#####################################################
Expand Down

0 comments on commit 7d28175

Please sign in to comment.