Commit 1924c2c9 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Remove stub guard clause from deployment platform class

parent 4e5d4aa2
......@@ -4,7 +4,6 @@ module DeploymentPlatform
def deployment_platform(environment: nil)
@deployment_platform ||= {}
return find_deployment_platform(environment)
@deployment_platform[environment] ||= find_deployment_platform(environment)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment