lib/git/multi.rb in git-multi-4.0.1 vs lib/git/multi.rb in git-multi-5.0.0
- old
+ new
@@ -137,11 +137,10 @@
#
# the main `Git::Multi` capabilities
#
module Nike
-
# rubocop:disable Metrics/PerceivedComplexity
# rubocop:disable Metrics/CyclomaticComplexity
def just_do_it(interactive, pipelined, captured = nil, options = {})
working_dir = case (options[:in] || '').to_sym
when :parent_dir then parent_dir
@@ -180,11 +179,10 @@
else
ssputs(arg.to_s)
end
end
end
-
end
def repositories
if File.size?(GITHUB_CACHE)
# rubocop:disable Security/MarshalLoad
@@ -291,8 +289,7 @@
def cloned_repositories_for(multi_repo = nil)
repositories_for(multi_repo).find_all { |repo|
File.directory? repo.local_path
}
end
-
end
end