Don't prepend file:// twice

This commit is contained in:
LemonBoy 2018-10-08 21:31:25 +02:00
commit a218bc3793

View file

@ -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).