Fix unnecessary Sprintf with Sprint

This commit is contained in:
ulwlu 2021-02-13 17:20:39 +09:00
parent e461baa217
commit 16be90c538
No known key found for this signature in database
GPG key ID: 5D970017CA0286BA

View file

@ -393,7 +393,7 @@ func confirmSubmission(repoName string, repoOwner string, projectDirErr error) (
promptString := ""
if projectDirErr == nil {
promptString = fmt.Sprintf("This will add remote origin to your current directory. Continue? ")
promptString = fmt.Sprint("This will add remote origin to your current directory. Continue? ")
} else if repoOwner != "" {
promptString = fmt.Sprintf("This will create '%s/%s' in your current directory. Continue? ", repoOwner, repoName)
} else {