We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eba315 commit 6ebe08dCopy full SHA for 6ebe08d
1 file changed
cmd/clone.go
@@ -69,6 +69,9 @@ func (o *cloneOption) runE(_ *cobra.Command, args []string) (err error) {
69
if err = survey.AskOne(prompt, &ok); err == nil && ok {
70
err = pkg.ExecCommandInDir(ghBinary, targetDir, "repo", "fork", "--remote")
71
}
72
+ } else {
73
+ // it's ok if no gh found
74
+ err = nil
75
76
return
77
0 commit comments