lib/pod_builder/command/clean.rb in pod-builder-0.2.6 vs lib/pod_builder/command/clean.rb in pod-builder-0.2.8
- old
+ new
@@ -6,11 +6,11 @@
class Clean
def self.call(options)
Configuration.check_inited
PodBuilder::prepare_basepath
- update_repo = options[:update_repos] || false
- installer, analyzer = Analyze.installer_at(PodBuilder::basepath)
+ install_update_repo = options[: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)