From d9353ff54c20a08e4e078e0190fc1f364b08a2d1 Mon Sep 17 00:00:00 2001 From: nea Date: Sat, 27 Aug 2022 15:41:16 +0200 Subject: translation --- src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt') diff --git a/src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt b/src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt index 34279af..c354392 100644 --- a/src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt +++ b/src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt @@ -69,7 +69,7 @@ object RepoDownloadManager { * Downloads the latest repository from github, setting [latestSavedVersionHash]. * @return true, if an update was performed, false, otherwise (no update needed, or wasn't able to complete update) */ - suspend fun downloadUpdate(): Boolean = withContext(CoroutineName("Repo Update Check")) { + suspend fun downloadUpdate(force: Boolean): Boolean = withContext(CoroutineName("Repo Update Check")) { val latestSha = requestLatestGithubSha() if (latestSha == null) { logger.warn("Could not request github API to retrieve latest REPO sha.") -- cgit