Add punctuation to lint comments

This commit is contained in:
Gustas
2023-04-29 12:51:00 +03:00
committed by Matthias Mailänder
parent d9d8c23c63
commit 3188532e59
15 changed files with 30 additions and 30 deletions

View File

@@ -61,7 +61,7 @@ namespace OpenRA.Mods.Common.Lint
void Run(Action<string> emitError, List<MiniYamlNode> nodes)
{
// Build a list of all inheritance relationships
// Build a list of all inheritance relationships.
var inheritsMap = new Dictionary<string, List<string>>();
foreach (var actorNode in nodes)
{
@@ -79,7 +79,7 @@ namespace OpenRA.Mods.Common.Lint
var toResolve = new Queue<string>(inheritsMap.Keys.Where(k => string.Equals(k, actor, StringComparison.InvariantCultureIgnoreCase)));
while (toResolve.TryDequeue(out var key))
{
// Missing keys are a fatal merge error, so will have already been reported by other lint checks
// Missing keys are a fatal merge error, so will have already been reported by other lint checks.
if (!inheritsMap.TryGetValue(key, out var inherits))
continue;