Commit 7eae6d48 authored by Samuel Giddins's avatar Samuel Giddins

[PodTarget] Remove redundant last statements

Assignments return their r-values
parent 2619458c
...@@ -522,10 +522,8 @@ module Pod ...@@ -522,10 +522,8 @@ module Pod
if whitelists.empty? if whitelists.empty?
@build_config_cache[key] = true @build_config_cache[key] = true
true
elsif whitelists.count == 1 elsif whitelists.count == 1
@build_config_cache[key] = whitelists.first @build_config_cache[key] = whitelists.first
whitelists.first
else else
raise Informative, "The subspecs of `#{pod_name}` are linked to " \ raise Informative, "The subspecs of `#{pod_name}` are linked to " \
"different build configurations for the `#{target_definition}` " \ "different build configurations for the `#{target_definition}` " \
......
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