mirror of
https://github.com/sbt/sbt.git
synced 2026-09-08 11:13:23 +02:00
Handle the case of missing ~/.sbt/staging directory when asking for a source project dependency.
This commit is contained in:
committed by
Mark Harrah
parent
e37145137f
commit
d7f7a243e5
@@ -146,5 +146,8 @@ object Resolvers
|
||||
file
|
||||
}
|
||||
|
||||
def uniqueSubdirectoryFor(uri: URI, in: File) = new File(in, Hash.halfHashString(uri.normalize.toASCIIString))
|
||||
def uniqueSubdirectoryFor(uri: URI, in: File) = {
|
||||
in.mkdirs()
|
||||
new File(in, Hash.halfHashString(uri.normalize.toASCIIString))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user