Skip to content

Commit

Permalink
Merge pull request #32 from lukestephenson-zendesk/patch-2
Browse files Browse the repository at this point in the history
Highlight functions which override IOApp
  • Loading branch information
ssanj authored Feb 16, 2021
2 parents dfe2f36 + d7a57a2 commit 162dce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/com/reagroup/appliedscala/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import scala.concurrent.ExecutionContext.Implicits.global

object Main extends IOApp {

def run(args: List[String]): IO[ExitCode] = {
override def run(args: List[String]): IO[ExitCode] = {
val server = startServer()

println("Starting server")
Expand All @@ -26,7 +26,7 @@ object Main extends IOApp {
}
}

def startServer(): IO[ExitCode] = {
private def startServer(): IO[ExitCode] = {
for {
config <- Config.fromEnvironment()
process <- runServerWith(config)
Expand Down

0 comments on commit 162dce3

Please sign in to comment.