From a218bc3793609dd17e78f42d92572b6567016366 Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Mon, 8 Oct 2018 21:31:25 +0200 Subject: [PATCH] Don't prepend file:// twice --- src/nimble.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nimble.nim b/src/nimble.nim index 6f5ea0a..1f7e519 100644 --- a/src/nimble.nim +++ b/src/nimble.nim @@ -942,8 +942,7 @@ proc developFromDir(dir: string, options: Options) = writeNimbleLink(nimbleLinkPath, nimbleLink) # Save a nimblemeta.json file. - saveNimbleMeta(pkgDestDir, "file://" & dir, vcsRevisionInDir(dir), - nimbleLinkPath) + saveNimbleMeta(pkgDestDir, dir, vcsRevisionInDir(dir), nimbleLinkPath) # Save the nimble data (which might now contain reverse deps added in # processDeps).