mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Ensure script/plugin doesn't show error message when svn externals are not there
This commit is contained in:
parent
11f53db216
commit
93b98cb841
1 changed files with 7 additions and 4 deletions
|
@ -169,10 +169,13 @@ class Plugin
|
|||
else
|
||||
puts "Plugin doesn't exist: #{path}"
|
||||
end
|
||||
# clean up svn:externals
|
||||
externals = rails_env.externals
|
||||
externals.reject!{|n,u| name == n or name == u}
|
||||
rails_env.externals = externals
|
||||
|
||||
if rails_env.use_externals?
|
||||
# clean up svn:externals
|
||||
externals = rails_env.externals
|
||||
externals.reject!{|n,u| name == n or name == u}
|
||||
rails_env.externals = externals
|
||||
end
|
||||
end
|
||||
|
||||
def info
|
||||
|
|
Loading…
Reference in a new issue