From b16862ea20ca98d00567a457099ff576653bd9b2 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 6 May 2019 10:32:16 +0100 Subject: [PATCH] [app] S3Throp expects Config as parameter --- src/main/scala/net/kemitix/s3thorp/S3Thorp.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/net/kemitix/s3thorp/S3Thorp.scala b/src/main/scala/net/kemitix/s3thorp/S3Thorp.scala index 91bc2a5..581ce6f 100644 --- a/src/main/scala/net/kemitix/s3thorp/S3Thorp.scala +++ b/src/main/scala/net/kemitix/s3thorp/S3Thorp.scala @@ -4,9 +4,9 @@ import cats.effect.IO object S3Thorp { - def putStrLn(value: String): IO[Unit] = IO(println(value)) + def putStrLn(value: String) = IO { println(value) } - def apply(args: List[String]): IO[Unit] = { + def apply(args: Config): IO[Unit] = { for { _ <- putStrLn("S3Thorp - hashed sync for s3") } yield ()