Skip to content

Commit

Permalink
Ugh how embarassing
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed Oct 15, 2015
1 parent 2922690 commit c183a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Update/CopStache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static string Render(string template, Dictionary<string, string> identifi
var buf = new StringBuilder();

foreach (var line in template.Split('\n')) {
identifiers["RandomGuid"] = (new Guid()).ToString();
identifiers["RandomGuid"] = (Guid.NewGuid()).ToString();

foreach (var key in identifiers.Keys) {
buf.Replace("{{" + key + "}}", SecurityElement.Escape(identifiers[key]));
Expand Down

0 comments on commit c183a32

Please sign in to comment.