Skip to content

Commit

Permalink
Remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
noonmaru committed Sep 24, 2020
1 parent 7be663b commit ae09007
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ object GitHubSupport {
addRequestProperty("Accept", REQUEST_ACCEPT)
inputStream.bufferedReader().use { JsonParser().parse(it) as JsonObject }
}
val latestVersion = releaseInfo[KEY_TAG_NAME].asString.also {
releaseInfo[KEY_TAG_NAME].asString.also {
if (version.compareVersion(it) >= 0) throw UpToDateException("UP TO DATE")
}
val foundAsset = releaseInfo.getAsJsonArray(KEY_ASSETS)
Expand Down

0 comments on commit ae09007

Please sign in to comment.