summaryrefslogtreecommitdiff
path: root/crashbox-server/src/main/scala/io/crashbox/ci/Source.scala
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2017-03-06 01:47:50 -0800
committerJakob Odersky <jakob@odersky.com>2017-03-06 01:47:50 -0800
commitbd7083167c1a0899f722971fb90ce41c96de252f (patch)
treee0bcad925419f1801caa2d2cd8270417c7a5b2e8 /crashbox-server/src/main/scala/io/crashbox/ci/Source.scala
parent374ac0ce8c10e9063c263ecf9c708f9ee6772973 (diff)
downloadcrashbox-ci-bd7083167c1a0899f722971fb90ce41c96de252f.tar.gz
crashbox-ci-bd7083167c1a0899f722971fb90ce41c96de252f.tar.bz2
crashbox-ci-bd7083167c1a0899f722971fb90ce41c96de252f.zip
scalafmt
Diffstat (limited to 'crashbox-server/src/main/scala/io/crashbox/ci/Source.scala')
-rw-r--r--crashbox-server/src/main/scala/io/crashbox/ci/Source.scala11
1 files changed, 6 insertions, 5 deletions
diff --git a/crashbox-server/src/main/scala/io/crashbox/ci/Source.scala b/crashbox-server/src/main/scala/io/crashbox/ci/Source.scala
index 720b809..335e59c 100644
--- a/crashbox-server/src/main/scala/io/crashbox/ci/Source.scala
+++ b/crashbox-server/src/main/scala/io/crashbox/ci/Source.scala
@@ -7,10 +7,11 @@ import scala.concurrent.Future
trait Source { self: Core =>
- def fetchSource(from: URL, to: File): Future[File] = Future {
- log.debug(s"Cloning git repo from $from to $to")
- Git.cloneRepository.setURI(from.toURI.toString).setDirectory(to).call()
- to
- }(blockingDispatcher)
+ def fetchSource(from: URL, to: File): Future[File] =
+ Future {
+ log.debug(s"Cloning git repo from $from to $to")
+ Git.cloneRepository.setURI(from.toURI.toString).setDirectory(to).call()
+ to
+ }(blockingDispatcher)
}