diff --git a/modules/version/server/VersionChecker.lua b/modules/version/server/VersionChecker.lua index 0d0e74f..0c2cb54 100644 --- a/modules/version/server/VersionChecker.lua +++ b/modules/version/server/VersionChecker.lua @@ -42,9 +42,7 @@ local function getDownloadUrl(repoPath, tebex, actualRepoPath) return "https://portal.cfx.re/assets/granted-assets" elseif actualRepoPath and actualRepoPath ~= false then local repoUser, repoName = actualRepoPath:match("([^/]+)/([^/]+)") - if repoUser and repoName then - return ('https://github.com/%s/%s/releases/latest'):format(repoUser, repoName) - end + if repoUser and repoName then return ('https://github.com/%s/%s/releases/latest'):format(repoUser, repoName) end end return nil end