Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

Commit

Permalink
Merge pull request #11 from Ruenzuo/fix_exclude_pods_not_set
Browse files Browse the repository at this point in the history
Handle excluded_pods not set in configuration file
  • Loading branch information
pietbrauer committed Jun 19, 2017
2 parents 764b472 + 61e5cfa commit cabf76b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/updater/synchronize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ def dependencies

pods_dependencies.flatten!.uniq!

pods_dependencies.reject! { |dependency| @config.excluded_pods.include? dependency }
pods_dependencies.reject! { |dependency| @config.excluded_pods.include? dependency } unless @config.excluded_pods.nil?

pods_dependencies
end

def run
Expand Down

0 comments on commit cabf76b

Please sign in to comment.