提交 fb5a21c4 编写于 作者: C Chris Wanstrath

dont run hub standalone in standalone mode

上级 a882d72b
......@@ -153,6 +153,7 @@ module Hub
# $ hub browse pjhyett/github-services
user, repo = args.last.split('/')
else
# $ hub browse github-services
user = github_user
repo = args.last
end
......@@ -173,6 +174,8 @@ module Hub
require 'hub/standalone'
puts Hub::Standalone.build
exit
rescue LoadError
abort "hub is running in standalone mode."
end
def alias(args)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册