Skip to content

Commit 001e32c

Browse files
Adds support for running proxy in CI environments (#697)
1 parent 473b53e commit 001e32c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev-proxy/ProxyEngine.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ public async Task Run(CancellationToken? cancellationToken)
163163

164164
// we need this check or proxy will fail with an exception
165165
// when run for example in VSCode's integrated terminal
166-
if (!Console.IsInputRedirected)
166+
if (!Console.IsInputRedirected &&
167+
Environment.GetEnvironmentVariable("CI") is null)
167168
{
168169
ReadKeys();
169170
}

0 commit comments

Comments
 (0)