lib/uffizzi/services/preview_service.rb in uffizzi-cli-2.3.3 vs lib/uffizzi/services/preview_service.rb in uffizzi-cli-2.3.4
- old
+ new
@@ -54,10 +54,12 @@
spinner.success
Uffizzi.ui.say('Deployed')
Uffizzi.ui.say("Deployment url: https://#{deployment[:preview_url]}")
- Uffizzi.ui.say("Deployment proxy url: https://#{deployment[:proxy_preview_url]}")
+ if deployment[:proxy_preview_url].present?
+ Uffizzi.ui.say("Deployment proxy url: https://#{deployment[:proxy_preview_url]}")
+ end
activity_items
rescue ApiClient::ResponseError => e
Uffizzi::ResponseHelper.handle_failed_response(e.response)
end