Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/blame/commit/d1de6c1b2c883db3553dd27c3928401a490d8fe8/NzbDrone.Common/EnsureThat/Ensure.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/NzbDrone.Common/EnsureThat/Ensure.cs

27 lines
728 B

using System;
using System.Linq.Expressions;
namespace NzbDrone.Common.EnsureThat
{
public static class Ensure
{
public static Param<T> That<T>(T value, string name = Param.DefaultName)
{
return new Param<T>(name, value);
}
public static Param<T> That<T>(Expression<Func<T>> expression)
{
var memberExpression = expression.GetRightMostMember();
return new Param<T>(
memberExpression.ToPath(),
expression.Compile().Invoke());
}
public static TypeParam ThatTypeFor<T>(T value, string name = Param.DefaultName)
{
return new TypeParam(name, value.GetType());
}
}
}