scripts/destroy_remote in multi_repo-0.4.0 vs scripts/destroy_remote in multi_repo-0.5.0
- old
+ new
@@ -18,11 +18,7 @@
unless repo.git.remote?(opts[:remote])
puts "!! Skipping because #{opts[:remote]} remote doesn't exist".yellow
next
end
- if opts[:dry_run]
- puts "** dry-run: git remote rm #{opts[:remote]}".light_black
- else
- repo.git.client.remote("rm", opts[:remote])
- end
+ repo.git.destroy_remote(opts[:remote])
end