1
0
Fork 0
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:
Pratik Naik 2009-03-18 18:39:31 +00:00
parent 11f53db216
commit 93b98cb841

View file

@ -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