summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-03-24 12:54:22 +0100
committerHiroshi SHIBATA <[email protected]>2020-06-15 21:20:37 +0900
commitafce7eb39ec58f9ec65b3cf53059a4bc3bd58cbd ()
treeea9ce6a73ae5bf5f66c53cce54286b0974259c80 /lib
parentc61031d6b66674cf57211ff52677c223fe1d17ac (diff)
Replace `Gem::Util.silent_system` with better tools
Notes: Merged: https://.com/ruby/ruby/pull/3229
-rw-r--r--lib/rubygems/source/git.rb8
1 files changed, 5 insertions, 3 deletions
@@ -103,9 +103,11 @@ class Gem::Source::Git < Gem::Source
success = system @git, 'reset', '--quiet', '--hard', rev_parse
- success &&=
- Gem::Util.silent_system @git, 'submodule', 'update',
- '--quiet', '--init', '--recursive' if @need_submodules
success
end