Merge pull request #552 from LemonBoy/develop-uri

Don't prepend file:// twice
This commit is contained in:
Dominik Picheta 2018-10-09 00:21:50 +01:00 • committed by GitHub
commit f7373e03d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -942,8 +942,7 @@ proc developFromDir(dir: string, options: Options) =
writeNimbleLink(nimbleLinkPath, nimbleLink) writeNimbleLink(nimbleLinkPath, nimbleLink)
# Save a nimblemeta.json file. # Save a nimblemeta.json file.
saveNimbleMeta(pkgDestDir, "file://" & dir, vcsRevisionInDir(dir), saveNimbleMeta(pkgDestDir, dir, vcsRevisionInDir(dir), nimbleLinkPath)
nimbleLinkPath)
# Save the nimble data (which might now contain reverse deps added in # Save the nimble data (which might now contain reverse deps added in
# processDeps). # processDeps).