1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove unnecessary :

Before:

`.../irb/init.rb:280: warning: :LoadError: cannot load such file -- hoge`

After:

`.../irb/init.rb:280: warning: LoadError: cannot load such file -- hoge`

[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2017-12-12 15:01:07 +00:00
parent e03ea9c596
commit 38054f99aa

View file

@ -277,7 +277,7 @@ module IRB # :nodoc:
begin
require m
rescue LoadError => err
warn ":#{err.class}: #{err}", uplevel: 0
warn "#{err.class}: #{err}", uplevel: 0
end
end
end