Skip to content

Commit

Permalink
Merge pull request scalacenter#28 from olafurpg/RC1
Browse files Browse the repository at this point in the history
Upgrade to v0.6-RC1
  • Loading branch information
olafurpg committed Sep 14, 2018
2 parents a590d67 + 74fde91 commit 22d7c2c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object Dependencies {
val x = List(1) // scalafix:ok
def scalafixVersion: String = sys.env.get("TRAVIS_TAG") match {
case Some(v) if v.nonEmpty => v.stripPrefix("v")
case _ => "0.6.0-M19"
case _ => "0.6.0-RC1"
}
val all = List(
"org.eclipse.jgit" % "org.eclipse.jgit" % "4.5.4.201711221230-r",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ class ScalafixCompletions(
string,
TokenCompletions.fixed(
(seen, _) => {
val candidates = loadedRules().filter(_.name.startsWith(seen))
val candidates = loadedRules().iterator
.filterNot(_.isExperimental)
.filter(_.name.startsWith(seen))
val rules = candidates
.map { candidate =>
val output = s"${candidate.name}\n ${candidate.description}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ class SbtCompletionsSuite extends FunSuite {
|--help
|--verbose
|DisableSyntax
| Reports an error for disabled constructs such as var/null keywords or XML literals.
|ExplicitResultTypes
| Inserts explicit annotations for inferred types of def/val/var
| Reports an error for disabled features such as var or XML literals.
|LeakingImplicitClassVal
| Adds 'private' to val parameters of implicit value classes
|NoAutoTupling
Expand Down

0 comments on commit 22d7c2c

Please sign in to comment.