mirror of https://github.com/sbt/sbt.git
Merge pull request #5526 from 3rwww1/fix/npe-coursier-null-cred-realm
Fix coursierint NPE when credential realm is null
This commit is contained in:
commit
a109f3d76d
|
|
@ -231,7 +231,7 @@ object CoursierInputsTasks {
|
|||
.withHost(c.host)
|
||||
.withUsername(c.userName)
|
||||
.withPassword(c.passwd)
|
||||
.withRealm(Some(c.realm).filter(_.nonEmpty))
|
||||
.withRealm(Option(c.realm).filter(_.nonEmpty))
|
||||
.withHttpsOnly(false)
|
||||
.withMatchHost(true)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue