Slightly better naming

pull/1180/head
Tyrrrz 11 months ago
parent a2c5d2e2dd
commit 8e36002ae7

@ -48,7 +48,7 @@ public abstract class DiscordCommandBase : ICommand
#pragma warning restore CS0618
// Note about interactivity for Docker
if (console.IsOutputRedirected && Docker.IsRunningInDocker)
if (console.IsOutputRedirected && Docker.IsRunningInContainer)
{
console.Error.WriteLine(
"Note: Output streams are redirected, rich console interactions are disabled. "

@ -4,6 +4,6 @@ namespace DiscordChatExporter.Core.Utils;
public static class Docker
{
public static bool IsRunningInDocker { get; } =
public static bool IsRunningInContainer { get; } =
Environment.GetEnvironmentVariable("DOTNET_RUNNING_IN_CONTAINER") == "true";
}

Loading…
Cancel
Save