Skip to content

Commit

Permalink
s/suffix/prefix/
Browse files Browse the repository at this point in the history
CI custom build logic is hard to test
  • Loading branch information
olafurpg committed Aug 9, 2018
1 parent ddbab96 commit b139677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ commands += Command.command("ci-windows") { s =>
}

def scalafixVersion: String = sys.env.get("TRAVIS_TAG") match {
case Some(v) if v.nonEmpty => v.stripSuffix("v")
case Some(v) if v.nonEmpty => v.stripPrefix("v")
case _ => "0.6.0-M14"
}

Expand Down

0 comments on commit b139677

Please sign in to comment.