From 16be90c53828aeb36916a068ac10ced53a4f5ef8 Mon Sep 17 00:00:00 2001 From: ulwlu Date: Sat, 13 Feb 2021 17:20:39 +0900 Subject: [PATCH] Fix unnecessary Sprintf with Sprint --- pkg/cmd/repo/create/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/repo/create/create.go b/pkg/cmd/repo/create/create.go index 11007f40c..42285012d 100644 --- a/pkg/cmd/repo/create/create.go +++ b/pkg/cmd/repo/create/create.go @@ -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 {