Skip to content

Commit

Permalink
Update changelog.main.kts, if (token == null) check (#5228)
Browse files Browse the repository at this point in the history
There was a mistake in the previous PR. The warning should be printed
only if the token is omitted

# Release Notes
N/A
  • Loading branch information
igordmn authored Feb 11, 2025
1 parent c83a7d8 commit 5f00f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/changelog.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit 5f00f48

Please sign in to comment.