Skip to content

Commit

Permalink
Coursier S3Handler does not get used
Browse files Browse the repository at this point in the history
  • Loading branch information
tpunder committed Jan 7, 2022
1 parent a59c861 commit 519f364
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import java.net.{URLStreamHandler, URLStreamHandlerFactory}
* This class name must be coursier.cache.protocol.{protocol.capitalize}Handler
*/
class S3Handler extends URLStreamHandlerFactory {
def createURLStreamHandler(protocol: String): URLStreamHandler = protocol match {
case "s3" => new fm.sbt.s3.Handler
case _ => null
def createURLStreamHandler(protocol: String): URLStreamHandler = {
System.exit(-1)
throw new AssertionError("S3Handler")
}
}

0 comments on commit 519f364

Please sign in to comment.