repos: warn on missing testing API (#2056)

* repos: warn on missing testing API

* repos: reword missing testing API warning
This commit is contained in:
Aireil 2024-11-04 15:20:54 +01:00 committed by GitHub
parent 8956bd54a9
commit f3bd83fbe9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -205,6 +205,13 @@ internal class PluginRepository
return false;
}
if (manifest.TestingAssemblyVersion != null &&
manifest.TestingAssemblyVersion > manifest.AssemblyVersion &&
manifest.TestingDalamudApiLevel == null)
{
Log.Warning("The plugin {PluginName} in {RepoLink} has a testing version available, but it lacks an associated testing API. The 'TestingDalamudApiLevel' property is required.", manifest.InternalName, this.PluginMasterUrl);
}
return true;
}