Skip to content

Commit

Permalink
Disabled acyclic locally to allow backward compatible Main.main
Browse files Browse the repository at this point in the history
  • Loading branch information
lefou committed Jan 12, 2022
1 parent b144370 commit 106f9a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion amm/src/main/scala/ammonite/AmmoniteMain.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ import coursierapi.Dependency
import scala.concurrent.Await
import scala.concurrent.duration.Duration


// needed to support deprecated Main.main
import acyclic.skipped

object AmmoniteMain{

Expand Down
2 changes: 2 additions & 0 deletions amm/src/main/scala/ammonite/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import coursierapi.Dependency
import scala.concurrent.Await
import scala.concurrent.duration.Duration

// needed to support deprecated Main.main
import acyclic.skipped


/**
Expand Down
2 changes: 2 additions & 0 deletions amm/src/main/scala/ammonite/MainRunner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import scala.annotation.tailrec
import scala.concurrent.Await
import scala.concurrent.duration.Duration

// needed to support deprecated Main.main
import acyclic.skipped

/**
* Bundles together:
Expand Down

0 comments on commit 106f9a3

Please sign in to comment.