From 11ea49dc7c729755874ebf858967513138cac7e7 Mon Sep 17 00:00:00 2001 From: Scott Carlton Date: Mon, 5 Dec 2016 11:04:19 -0800 Subject: [PATCH] added a string.Format --- src/dotnet/commands/dotnet-new/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dotnet/commands/dotnet-new/Program.cs b/src/dotnet/commands/dotnet-new/Program.cs index 2595dc7a8..4998e0492 100644 --- a/src/dotnet/commands/dotnet-new/Program.cs +++ b/src/dotnet/commands/dotnet-new/Program.cs @@ -61,7 +61,7 @@ namespace Microsoft.DotNet.Tools.New { if (File.Exists(Path.Combine(Directory.GetCurrentDirectory(), entry))) { - Reporter.Error.WriteLine(LocalizableStrings.ProjectContainsError, languageName, entry); + Reporter.Error.WriteLine(string.Format(LocalizableStrings.ProjectContainsError, languageName, entry)); return 1; } }