Remove cli=true from scaladex query

Makes it not find lihaoyi/Ammonite in particular
This commit is contained in:
Alexandre Archambault 2017-03-18 16:37:27 +01:00
parent c332d4f46e
commit 62d3ed307a
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ case class Scaladex[F[_]](fetch: String => EitherT[F, String, String], F: Nondet
val s = fetch(
// FIXME Escaping
s"https://index.scala-lang.org/api/search?q=$name&target=$target&scalaVersion=$scalaVersion&cli=true"
s"https://index.scala-lang.org/api/search?q=$name&target=$target&scalaVersion=$scalaVersion"
)
s.flatMap(s => EitherT.fromDisjunction[F](s.decodeEither[List[Scaladex.SearchResult]].disjunction))
@ -107,7 +107,7 @@ case class Scaladex[F[_]](fetch: String => EitherT[F, String, String], F: Nondet
val s = fetch(
// FIXME Escaping
s"https://index.scala-lang.org/api/scastie/project?organization=$organization&repository=$repository"
s"https://index.scala-lang.org/api/project?organization=$organization&repository=$repository"
)
case class Result(artifacts: List[String])