提交 5799cebd 编写于 作者: J Jingwen Owen Ou

Clone with noop still works

上级 77fe52b9
...@@ -77,7 +77,6 @@ func transformCloneArgs(args *Args) { ...@@ -77,7 +77,6 @@ func transformCloneArgs(args *Args) {
project := github.NewProject(owner, name, hostStr) project := github.NewProject(owner, name, hostStr)
if !isSSH && if !isSSH &&
args.Command != "submodule" && args.Command != "submodule" &&
!args.Noop &&
!github.IsHttpsProtocol() { !github.IsHttpsProtocol() {
client := github.NewClient(project.Host) client := github.NewClient(project.Host)
repo, err := client.Repository(project) repo, err := client.Repository(project)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册