We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 092f2ed commit c2debfaCopy full SHA for c2debfa
tools/changelog.main.kts
@@ -88,9 +88,13 @@ val argsKeyToValue = args
88
.filter { it.contains("=") }
89
.associate { it.substringBefore("=") to it.substringAfter("=") }
90
91
-val token = argsKeyToValue["token"]
92
-if (token == null) {
93
- println("To increase the rate limit, specify token (https://github.com/settings/tokens), adding token=yourtoken in the end")
+val token = argsKeyToValue["token"].let {
+ if (it == null) {
+ println("To increase the rate limit, specify token (https://github.com/settings/tokens), adding token=yourtoken in the end")
94
+ null
95
+ } else if (it.isBlank()) {
96
97
+ }
98
}
99
100
println()
0 commit comments