missed a thing

This commit is contained in:
vilmibm 2020-04-22 16:08:47 -05:00
parent 9d7590cbfc
commit 03e60758d0

View file

@ -459,7 +459,8 @@ func repoFork(cmd *cobra.Command, args []string) error {
}
}
if cloneDesired {
cloneDir, err := runClone(forkedRepo.CloneURL, []string{})
forkedRepoCloneURL := formatRemoteURL(cmd, ghrepo.FullName(forkedRepo))
cloneDir, err := runClone(forkedRepoCloneURL, []string{})
if err != nil {
return fmt.Errorf("failed to clone fork: %w", err)
}