Skip to content

Commit

Permalink
fix mima build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrh committed Feb 28, 2020
1 parent e4a3441 commit c5e0062
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 @@ -232,7 +232,7 @@ def previousArtifact(version: String, proj: String) = {
// only based on the current version.
val minors = if (major > 0) (0 until minor).toSet else Set.empty
val patches = (0 until patch).toSet
val current = if (suffix.startsWith("+")) Set(mod(major, minor, patch)) else Set.empty[ModuleID]
val current = if (suffix != null && suffix.startsWith("+")) Set(mod(major, minor, patch)) else Set.empty[ModuleID]
minors.map(mod(major, _, 0)) | patches.map(mod(major, minor, _)) | current
case _ =>
throw new RuntimeException(s"Could not parse Paiges version: $version")
Expand Down

0 comments on commit c5e0062

Please sign in to comment.