Skip to content

Commit

Permalink
Slightly better naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Dec 28, 2023
1 parent a2c5d2e commit 8e36002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public virtual ValueTask ExecuteAsync(IConsole console)
#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. "
Expand Down
2 changes: 1 addition & 1 deletion DiscordChatExporter.Core/Utils/Docker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}

0 comments on commit 8e36002

Please sign in to comment.