Skip to content

Commit 52a9bb0

Browse files
committed
Fix rubocop issues
1 parent 83c8f1d commit 52a9bb0

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

Podfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,14 +265,10 @@ pre_install do |installer|
265265
dynamic = []
266266
installer.pod_targets.each do |pod|
267267
use_dynamic_frameworks = false
268-
if dyanmic_framework_pods.include? pod.name
269-
use_dynamic_frameworks = true
270-
end
268+
use_dynamic_frameworks = true if dyanmic_framework_pods.include? pod.name
271269

272270
# If this pod is a dependency of one of our shared targets, it must be linked dynamically
273-
if pod.target_definitions.any? { |t| shared_targets.include? t.name }
274-
use_dynamic_frameworks = true
275-
end
271+
use_dynamic_frameworks = true if pod.target_definitions.any? { |t| shared_targets.include? t.name }
276272

277273
if use_dynamic_frameworks
278274
dynamic << pod

0 commit comments

Comments
 (0)