mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 13:25:13 +02:00
Reformat and apply Stylecop rules
This commit is contained in:
@@ -30,15 +30,17 @@ namespace NzbDrone.Common.Http.Proxy
|
||||
if (!string.IsNullOrWhiteSpace(BypassFilter))
|
||||
{
|
||||
var hostlist = BypassFilter.Split(',');
|
||||
for(int i = 0; i < hostlist.Length; i++)
|
||||
for (int i = 0; i < hostlist.Length; i++)
|
||||
{
|
||||
if(hostlist[i].StartsWith("*"))
|
||||
if (hostlist[i].StartsWith("*"))
|
||||
{
|
||||
hostlist[i] = ";" + hostlist[i];
|
||||
}
|
||||
}
|
||||
|
||||
return hostlist;
|
||||
}
|
||||
|
||||
return new string[] { };
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user