diff --git a/api/src/main/kotlin/com/github/noonmaru/tap/util/GitHubSupport.kt b/api/src/main/kotlin/com/github/noonmaru/tap/util/GitHubSupport.kt index d0eb149..73448e0 100644 --- a/api/src/main/kotlin/com/github/noonmaru/tap/util/GitHubSupport.kt +++ b/api/src/main/kotlin/com/github/noonmaru/tap/util/GitHubSupport.kt @@ -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)