Remove the period from the end of LP0002 so we don't end up with double periods. (#342)
LP0002 is always populated from an exception message, which are supposed to have periods on the end. So most of the time we were getting double periods, which looks bad.
This commit is contained in:
Родитель
e504e6c982
Коммит
a5519e86cb
|
@ -1,5 +1,5 @@
|
|||
[comment]: # (name:FatalError)
|
||||
[comment]: # (text:Fatal error: {message}.)
|
||||
[comment]: # (text:Fatal error: {message})
|
||||
|
||||
# Lottie-Windows Warning LP0002
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Lottie.LottieData.Serialization
|
|||
// LP0001 has been deprecated.
|
||||
// Was: Failed to parse JSON. {message}.
|
||||
|
||||
internal void FatalError(string message) => Report("LP0002", $"Fatal error: {message}.");
|
||||
internal void FatalError(string message) => Report("LP0002", $"Fatal error: {message}");
|
||||
|
||||
internal void AssetType(string type) => Report("LP0005", $"Unsupported asset type: {type}.");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче