Skip to content

Commit

Permalink
Add kryptor no interaction variable detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeliux committed Aug 16, 2024
1 parent a555b78 commit 5f7c8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/Kryptor.Cli.Shared/CliSessionHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public CliSessionHost(GlobalOptions globalOptions)
NoColor = globalOptions.NoColor;

IsOutputRedirected = Console.IsOutputRedirected || Quiet;
NoInteractions = IsOutputRedirected;
NoInteractions = IsOutputRedirected || !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("KRYPTOR_NO_INTERACTION"));
}

public override void Start(ClientContext context)
Expand Down

0 comments on commit 5f7c8d3

Please sign in to comment.