mirror of https://github.com/sbt/sbt.git
Handle the case of missing ~/.sbt/staging directory when asking for a source project dependency.
This commit is contained in:
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))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue