Fix unnecessary Sprintf with Sprint
This commit is contained in:
parent
e461baa217
commit
16be90c538
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue