Skip to content

Commit

Permalink
Handle the case of missing ~/.sbt/staging directory when asking for a…
Browse files Browse the repository at this point in the history
… source project dependency.
  • Loading branch information
vigdorchik authored and harrah committed Jun 2, 2012
1 parent e371451 commit d7f7a24
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main/Resolvers.scala
Expand Up @@ -146,5 +146,8 @@ object Resolvers
file 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))
}
} }

0 comments on commit d7f7a24

Please sign in to comment.