lib/pod_builder/command/clean.rb in pod-builder-0.2.8 vs lib/pod_builder/command/clean.rb in pod-builder-0.2.9
- old
+ new
@@ -6,10 +6,10 @@
class Clean
def self.call(options)
Configuration.check_inited
PodBuilder::prepare_basepath
- install_update_repo = options[:update_repos] || true
+ install_update_repo = options.fetch(:update_repos, true)
installer, analyzer = Analyze.installer_at(PodBuilder::basepath, install_update_repo)
all_buildable_items = Analyze.podfile_items(installer, analyzer)
podspec_names = all_buildable_items.map(&:podspec_name)
rel_paths = all_buildable_items.map(&:prebuilt_rel_path)