Skip to content

Commit

Permalink
add CI env
Browse files Browse the repository at this point in the history
  • Loading branch information
henteko committed Dec 19, 2016
1 parent ddd90af commit 7a13d6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/deploygate/command_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def create_issue_url(command, error)
def error_handling(command, error)
STDERR.puts HighLine.color(I18n.t('command_builder.error_handling.message', message: error.message), HighLine::RED)

return if ENV['CI'] # When run ci server
return if error.kind_of?(DeployGate::NotIssueError)
puts ''
if HighLine.agree(I18n.t('command_builder.error_handling.agree')) {|q| q.default = "n"}
Expand Down

0 comments on commit 7a13d6f

Please sign in to comment.