提交 64bb19cc 编写于 作者: C Chris Wanstrath

bugfix: variable name

上级 546726aa
...@@ -499,7 +499,7 @@ help ...@@ -499,7 +499,7 @@ help
# #
# Returns a Boolean. # Returns a Boolean.
def command?(name) def command?(name)
`type -t #{command}` `type -t #{name}`
$?.success? $?.success?
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册