Skip to content

Commit 03e6075

Browse files
committed
missed a thing
1 parent 9d7590c commit 03e6075

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

command/repo.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,8 @@ func repoFork(cmd *cobra.Command, args []string) error {
459459
}
460460
}
461461
if cloneDesired {
462-
cloneDir, err := runClone(forkedRepo.CloneURL, []string{})
462+
forkedRepoCloneURL := formatRemoteURL(cmd, ghrepo.FullName(forkedRepo))
463+
cloneDir, err := runClone(forkedRepoCloneURL, []string{})
463464
if err != nil {
464465
return fmt.Errorf("failed to clone fork: %w", err)
465466
}

0 commit comments

Comments
 (0)