diff --git a/src/nimble.nim b/src/nimble.nim index 6680f63..2e604ac 100644 --- a/src/nimble.nim +++ b/src/nimble.nim @@ -492,7 +492,7 @@ proc downloadPkg(url: string, verRange: VersionRange, # Fixes issue #204 # github + https + trailing url slash causes a # checkout/ls-remote to fail with Repository not found - if modUrl.contains("https://github.com") and modUrl.endswith("/"): + if modUrl.contains("github.com") and modUrl.endswith("/"): modUrl = modUrl[0 .. ^2] echo("Downloading ", modUrl, " into ", downloadDir, " using ",