From f61345878093bb20502eaab6370adbf58a85b201 Mon Sep 17 00:00:00 2001 From: Samantha Marshall Date: Sat, 28 Jan 2017 10:47:04 -0500 Subject: [PATCH] whooops, missed part two of this changeset --- src/nimblepkg/publish.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimblepkg/publish.nim b/src/nimblepkg/publish.nim index 38beac6..df67b2d 100644 --- a/src/nimblepkg/publish.nim +++ b/src/nimblepkg/publish.nim @@ -167,7 +167,7 @@ proc publish*(p: PackageInfo) = var url = "" var downloadMethod = "" if dirExists(os.getCurrentDir() / ".git"): - let (output, exitCode) = doCmdEx("git config --get remote.origin.url") + let (output, exitCode) = doCmdEx("git ls-remote --get-url") if exitCode == 0: url = output.string.strip if url.endsWith(".git"): url.setLen(url.len - 4)