From 5f00f484beee234c42cfd934b36eb7d010c70fb3 Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Tue, 11 Feb 2025 12:00:24 +0100 Subject: [PATCH] Update changelog.main.kts, if (token == null) check (#5228) There was a mistake in the previous PR. The warning should be printed only if the token is omitted # Release Notes N/A --- tools/changelog.main.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/changelog.main.kts b/tools/changelog.main.kts index ce11d0e844..cd269cb176 100644 --- a/tools/changelog.main.kts +++ b/tools/changelog.main.kts @@ -88,7 +88,7 @@ val argsKeyToValue = args .associate { it.substringBefore("=") to it.substringAfter("=") } val token = argsKeyToValue["token"] -if (token != null) { +if (token == null) { println("To increase the rate limit, specify token (https://github.com/settings/tokens), adding token=yourtoken in the end") }