Skip to content

Commit 79ea4d8

Browse files
authored
Fix env var name (#1432)
1 parent ff2d28c commit 79ea4d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/AutoUpdateChannelDescription/src/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static async Task Main(string[] args)
1515
var channelId = Environment.GetEnvironmentVariable("DISCORD_CHANNEL_ID") ?? throw new InvalidOperationException("DISCORD_CHANNEL_ID environment variable is not set.");
1616
var channelTopic = Environment.GetEnvironmentVariable("DISCORD_CHANNEL_TOPIC") ?? throw new InvalidOperationException("DISCORD_DESCRIPTION environment variable is not set.");
1717
var latestStableVersion = args.Length == 1 ? args[0] : throw new InvalidOperationException("LATEST_STABLE_VERSION should be the first argument passed.");
18-
var nugetUrl = Environment.GetEnvironmentVariable("NUGET_ORG_URL") ?? throw new InvalidOperationException("NUGET_ORG_URL environment variable is not set.");
18+
var nugetUrl = Environment.GetEnvironmentVariable("NUGET_URL") ?? throw new InvalidOperationException("NUGET_URL environment variable is not set.");
1919
var githubUrl = Environment.GetEnvironmentVariable("GITHUB_URL") ?? throw new InvalidOperationException("GITHUB_URL environment variable is not set.");
2020

2121
DiscordClient client = new(new DiscordConfiguration

0 commit comments

Comments
 (0)