[main] Start for comprehension
This commit is contained in:
parent
73f4a79254
commit
98c6c6b7df
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,9 @@ import cats.syntax.all._
|
|||
object Main extends IOApp {
|
||||
|
||||
def exec(args: List[String]): IO[ExitCode] =
|
||||
IO(println("S3Thorp - hashed sync for s3")).as(ExitCode.Success)
|
||||
for {
|
||||
ec <- IO(println("S3Thorp - hashed sync for s3")).as(ExitCode.Success)
|
||||
} yield ec
|
||||
|
||||
override def run(args: List[String]): IO[ExitCode] =
|
||||
exec(args).guaranteeCase {
|
||||
|
|
Loading…
Reference in a new issue