chore: bump schema-gate message to v1.4.6
Plugin.cs:171-172 hardcoded the version into the schema-gate InvalidOperationException string. The follow-up rename in v1.4.7 will move this to Plugin.Interface.Manifest.AssemblyVersion so this commit stops happening every cycle, but for v1.4.6 the bare version bump is the smallest change. Also picks up a one-line csharpier reflow on UrlValidation.cs collapsed by the format pass.
This commit is contained in:
@@ -168,8 +168,8 @@ public sealed class Plugin : IAsyncDalamudPlugin
|
||||
if (Config.Version < 16)
|
||||
{
|
||||
throw new InvalidOperationException(
|
||||
$"HellionChat v1.4.5 requires config schema v16, got v{Config.Version}. "
|
||||
+ "Please install v1.4.2 first to migrate the configuration, then upgrade to v1.4.5."
|
||||
$"HellionChat v1.4.6 requires config schema v16, got v{Config.Version}. "
|
||||
+ "Please install v1.4.2 first to migrate the configuration, then upgrade to v1.4.6."
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,9 +14,7 @@ internal static class UrlValidation
|
||||
|| (uri.Scheme is not "https" and not "http")
|
||||
)
|
||||
{
|
||||
throw new InvalidOperationException(
|
||||
$"{source} contains malformed URL: {url}"
|
||||
);
|
||||
throw new InvalidOperationException($"{source} contains malformed URL: {url}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user