Skip to content

Commit

Permalink
Set DOTNET_UPGRADEASSISTANT_SKIP_FIRST_TIME_EXPERIENCE environment va…
Browse files Browse the repository at this point in the history
…riable for non-interactive execution with no console
  • Loading branch information
bryceatmoderne committed Oct 1, 2024
1 parent 9fc0d5f commit 5ea4f69
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ private Map<String, String> buildUpgradeAssistantEnv() {
Map<String, String> env = new HashMap<>();
env.put("TERM", "dumb");
env.put("DOTNET_UPGRADEASSISTANT_TELEMETRY_OPTOUT", "1");
env.put("DOTNET_UPGRADEASSISTANT_SKIP_FIRST_TIME_EXPERIENCE", "1");
String path = System.getenv("PATH");
// This is required to find .NET SDKs
env.put("PATH", path + File.pathSeparator + DOTNET_HOME);
Expand Down

0 comments on commit 5ea4f69

Please sign in to comment.