提交 33733d5d 编写于 作者: N Neeraj Singh 提交者: Aaron Patterson

no need to check for nil

上级 04957363
......@@ -58,7 +58,7 @@ def install(name_uri_or_plugin)
else
plugin = name_uri_or_plugin
end
unless plugin.nil?
if plugin
plugin.install
else
puts "Plugin not found: #{name_uri_or_plugin}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册