Browse Source

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
release/1.8.0-alpha03 v1.8.0-alpha03
Igor Demin 10 months ago committed by GitHub
parent
commit
5f00f484be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      tools/changelog.main.kts

2
tools/changelog.main.kts

@ -88,7 +88,7 @@ val argsKeyToValue = args @@ -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")
}

Loading…
Cancel
Save