From 2fb54ea58eb24c71323e0a57857717a4a69fc8ee Mon Sep 17 00:00:00 2001 From: Ryo Takaishi Date: Mon, 25 Nov 2024 09:50:35 +0900 Subject: [PATCH] fix: cannot get review app number --- app/helpers/env_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/env_helper.rb b/app/helpers/env_helper.rb index 0290b84ee..539c06e32 100644 --- a/app/helpers/env_helper.rb +++ b/app/helpers/env_helper.rb @@ -14,9 +14,9 @@ def env_name def review_app_number m = ENV['DREAMKAST_NAMESPACE'].match(/dreamkast-dev-dk-(.*)-dk/) if m - m[1] + m[1].to_i else - raise('cannot get review app number') + 0 end end