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:
2026-05-12 20:59:56 +02:00
parent e33cf0dcb9
commit b46d3ad0a8
2 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -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."
);
}
+1 -3
View File
@@ -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}");
}
}
}