Commit cb8a748f authored by Marius Rackwitz's avatar Marius Rackwitz

Changed signature doc of Pod::Project#run_install_with_update and call it…

Changed signature doc of Pod::Project#run_install_with_update and call it appropriately by Pod::Project::Update#run
parent bf09f4bd
...@@ -28,7 +28,9 @@ module Pod ...@@ -28,7 +28,9 @@ module Pod
# Runs the installer. # Runs the installer.
# #
# @param [update] whether the installer should be run in update mode. # @param [Hash, Boolean, nil] update
# Pods that have been requested to be updated or true if all Pods
# should be updated
# #
# @return [void] # @return [void]
# #
...@@ -98,7 +100,8 @@ module Pod ...@@ -98,7 +100,8 @@ module Pod
verify_lockfile_exists! verify_lockfile_exists!
# TODO: Check if all given pods are installed unless no pods are given # TODO: Check if all given pods are installed unless no pods are given
# TODO: Handle update of specific pods only
run_install_with_update(pods: @pods)
else else
UI.puts "Update all pods".yellow unless @pods UI.puts "Update all pods".yellow unless @pods
run_install_with_update(true) run_install_with_update(true)
......
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