mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Finish removing code, (fixes sources command test).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b7dd8d07f6
commit
4993a1a814
3 changed files with 5 additions and 10 deletions
|
@ -64,12 +64,6 @@ class Gem::Commands::SourcesCommand < Gem::Command
|
|||
else
|
||||
say "*** Unable to remove source cache ***"
|
||||
end
|
||||
|
||||
sic = Gem::SourceInfoCache
|
||||
remove_cache_file 'user', sic.user_cache_file
|
||||
remove_cache_file 'latest user', sic.latest_user_cache_file
|
||||
remove_cache_file 'system', sic.system_cache_file
|
||||
remove_cache_file 'latest system', sic.latest_system_cache_file
|
||||
end
|
||||
|
||||
if options[:add] then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue