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
Родитель e03ea9c596
Коммит 38054f99aa
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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