Fix lint error formatting
This commit is contained in:
committed by
Matthias Mailänder
parent
3188532e59
commit
1ac6912c2a
@@ -35,11 +35,11 @@ namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
var hasTraits = actorInfo.Value.TraitsInConstructOrder().Any();
|
||||
if (!hasTraits)
|
||||
emitWarning($"Actor {actorInfo.Key} has no traits. Is this intended?");
|
||||
emitWarning($"Actor `{actorInfo.Key}` has no traits. Is this intended?");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
emitError($"Actor {actorInfo.Key} is not constructible; failure: {e.Message}");
|
||||
emitError($"Actor `{actorInfo.Key}` is not constructible; failure: {e.Message}.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user