Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnkit Jain <radical@gmail.com>2022-09-12 20:01:30 +0300
committerGitHub <noreply@github.com>2022-09-12 20:01:30 +0300
commit87dc10eafd4279cbc96b4ac465c1a9a3474fefdc (patch)
tree9d0b49964d5b42ee36be2e43d30fedbb6c3a0a96 /src
parentffc96c4e77489cc44306bad222adb92ce02e231b (diff)
[wasm][host] Track change in forwardConsole parameter to forwardConsoleToWS (#75372)
Diffstat (limited to 'src')
-rw-r--r--src/mono/wasm/host/BrowserHost.cs2
-rw-r--r--src/mono/wasm/host/RunArgumentsJson.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mono/wasm/host/BrowserHost.cs b/src/mono/wasm/host/BrowserHost.cs
index e7dac0bbb62..bccca9ff4f1 100644
--- a/src/mono/wasm/host/BrowserHost.cs
+++ b/src/mono/wasm/host/BrowserHost.cs
@@ -67,7 +67,7 @@ internal sealed class BrowserHost
var runArgsJson = new RunArgumentsJson(applicationArguments: _args.AppArgs,
runtimeArguments: _args.CommonConfig.RuntimeArguments,
environmentVariables: envVars,
- forwardConsole: _args.ForwardConsoleOutput ?? false,
+ forwardConsoleToWS: _args.ForwardConsoleOutput ?? false,
debugging: _args.CommonConfig.Debugging);
runArgsJson.Save(Path.Combine(_args.CommonConfig.AppPath, "runArgs.json"));
diff --git a/src/mono/wasm/host/RunArgumentsJson.cs b/src/mono/wasm/host/RunArgumentsJson.cs
index eb612a8efd6..f4573c1c7ff 100644
--- a/src/mono/wasm/host/RunArgumentsJson.cs
+++ b/src/mono/wasm/host/RunArgumentsJson.cs
@@ -14,7 +14,7 @@ internal sealed record RunArgumentsJson(
string[] applicationArguments,
string[]? runtimeArguments = null,
IDictionary<string, string>? environmentVariables = null,
- bool forwardConsole = false,
+ bool forwardConsoleToWS = false,
bool debugging = false
)
{