mirror of https://github.com/sbt/sbt.git
Cast module
This commit is contained in:
parent
d2ddd9d7a9
commit
3fa547d1b4
|
|
@ -29,9 +29,7 @@ class IvyPublisher private[sbt] (val ivySbt: IvySbt) extends PublisherInterface
|
|||
IvyActions.publish(toModule(module), configuration, log)
|
||||
|
||||
private[sbt] def toModule(module: ModuleDescriptor): Module =
|
||||
module match {
|
||||
case m: Module @unchecked => m
|
||||
}
|
||||
module.asInstanceOf[Module]
|
||||
}
|
||||
|
||||
object IvyPublisher {
|
||||
|
|
|
|||
Loading…
Reference in New Issue