Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Commit d5d7269

Browse files
Update VerifyWebTrendsFunction.cs
1 parent 6a9df5d commit d5d7269

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

GitHubReadmeWebTrends.Functions/Functions/VerifyWebTrendsFunction.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ public static void Run([QueueTrigger(QueueConstants.VerifyWebTrendsQueue)] (Repo
3535

3636
var (repository, gitHubUser) = data;
3737

38-
var updatedReadme = _urlRegex.Replace(repository.ReadmeText, x => x.Groups[2].Success
39-
? UpdateUrl(x.Groups[0].Value, repository.Name.Replace(".", "").Replace("-", "").ToLower(), "github", gitHubUser.MicrosoftAlias)
40-
: x.Value);
38+
var updatedReadme = _urlRegex.Replace(repository.ReadmeText,
39+
x => x.Groups[2].Success
40+
? UpdateUrl(x.Groups[0].Value, repository.Name.Replace(".", "").Replace("-", "").ToLower(), "github", gitHubUser.MicrosoftAlias)
41+
: x.Value);
4142

4243
if (!updatedReadme.Equals(repository.ReadmeText))
4344
{

0 commit comments

Comments
 (0)