mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
updates to GH Issue body
This commit is contained in:
parent
77d873c942
commit
044e86b0ae
2 changed files with 5 additions and 4 deletions
|
|
@ -28,7 +28,7 @@ protected override string Handle(Command request)
|
|||
body.Append(IssueHeader);
|
||||
foreach (var fileReults in request.DataFileUrlValidationResults)
|
||||
{
|
||||
body.Append($"<h1>{fileReults.DataFileName}</h1>");
|
||||
body.Append($"<h1><a href=\"https://github.com/collinbarrett/FilterLists/blob/master/data/{fileReults.DataFileName}\">{fileReults.DataFileName}</a></h1>");
|
||||
body.Append("<ul>");
|
||||
foreach (var result in fileReults.Results)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,17 +22,18 @@ public bool IsValid()
|
|||
|
||||
public void SetBroken()
|
||||
{
|
||||
Messages.Add("This URL is broken and should maybe be fixed, replaced, or removed.");
|
||||
Messages.Add("This URL might be broken and should maybe be fixed, replaced, or removed.");
|
||||
}
|
||||
|
||||
public void SetSupportsHttps()
|
||||
{
|
||||
Messages.Add("This URL is set to `http` but can support and should probably be changed to `https`.");
|
||||
Messages.Add(
|
||||
"This URL uses the HTTP protocol but appears to be able to support and should probably be changed to HTTPS.");
|
||||
}
|
||||
|
||||
public void SetRedirectsTo(Uri uri)
|
||||
{
|
||||
Messages.Add($"This URL redirects and should maybe be changed to \"{uri}\".");
|
||||
Messages.Add($"This URL appears to redirect and should maybe be changed to \"{uri}\".");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue