Formatting

This commit is contained in:
Thorsten Sommer 2025-05-29 15:51:09 +02:00
parent 7dcb9416a2
commit 1de9e19c49
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -74,7 +74,7 @@ public static partial class Pandoc
if (process.ExitCode != 0) if (process.ExitCode != 0)
{ {
if (showMessages) if (showMessages)
await MessageBus.INSTANCE.SendError(new (Icons.Material.Filled.Error, $"The pandoc process exited unexpectedly.")); await MessageBus.INSTANCE.SendError(new (Icons.Material.Filled.Error, "The pandoc process exited unexpectedly."));
LOG.LogError("The pandoc process was exited with code {ProcessExitCode}", process.ExitCode); LOG.LogError("The pandoc process was exited with code {ProcessExitCode}", process.ExitCode);
return false; return false;
@ -84,7 +84,7 @@ public static partial class Pandoc
if (!versionMatch.Success) if (!versionMatch.Success)
{ {
if (showMessages) if (showMessages)
await MessageBus.INSTANCE.SendError(new (Icons.Material.Filled.Terminal, $"pandoc --version returned an invalid format.")); await MessageBus.INSTANCE.SendError(new (Icons.Material.Filled.Terminal, "pandoc --version returned an invalid format."));
LOG.LogError("pandoc --version returned an invalid format:\n {Output}", output); LOG.LogError("pandoc --version returned an invalid format:\n {Output}", output);
return false; return false;