Skip to content

Commit 968d159

Browse files
authored
Merge pull request #66 from stanislavstoyanov99/master
Fix bug with renaming file contents method
2 parents b434c95 + 85ba511 commit 968d159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/TemplateRenamer/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private static void RenameFileContents(string currentDirectory, string originalN
8888
var files = Directory.GetFiles(currentDirectory);
8989
foreach (var file in files)
9090
{
91-
if (!file.EndsWith(".exe") && !file.EndsWith(".dll"))
91+
if (!file.EndsWith(".exe") && !file.EndsWith(".dll") && !file.EndsWith(".runtimeconfig.json"))
9292
{
9393
var contents = File.ReadAllText(file);
9494
contents = contents.Replace(originalName, newName);

0 commit comments

Comments
 (0)