File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ func NewCmdClone(f *cmdutil.Factory, runF func(*CloneOptions) error) *cobra.Comm
4444
4545 If the "OWNER/" portion of the "OWNER/REPO" repository argument is omitted, it
4646 defaults to the name of the authenticating user.
47-
47+
4848 Pass additional 'git clone' flags by listing them after '--'.
4949 ` ),
5050 RunE : func (cmd * cobra.Command , args []string ) error {
@@ -82,12 +82,12 @@ func cloneRun(opts *CloneOptions) error {
8282
8383 apiClient := api .NewClientFromHTTP (httpClient )
8484
85- respositoryIsURL := strings .Contains (opts .Repository , ":" )
86- repositoryIsFullName := ! respositoryIsURL && strings .Contains (opts .Repository , "/" )
85+ repositoryIsURL := strings .Contains (opts .Repository , ":" )
86+ repositoryIsFullName := ! repositoryIsURL && strings .Contains (opts .Repository , "/" )
8787
8888 var repo ghrepo.Interface
8989 var protocol string
90- if respositoryIsURL {
90+ if repositoryIsURL {
9191 repoURL , err := git .ParseURL (opts .Repository )
9292 if err != nil {
9393 return err
You can’t perform that action at this time.
0 commit comments