Skip to content

Commit c5e0062

Browse files
committed
fix mima build settings
1 parent e4a3441 commit c5e0062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def previousArtifact(version: String, proj: String) = {
232232
// only based on the current version.
233233
val minors = if (major > 0) (0 until minor).toSet else Set.empty
234234
val patches = (0 until patch).toSet
235-
val current = if (suffix.startsWith("+")) Set(mod(major, minor, patch)) else Set.empty[ModuleID]
235+
val current = if (suffix != null && suffix.startsWith("+")) Set(mod(major, minor, patch)) else Set.empty[ModuleID]
236236
minors.map(mod(major, _, 0)) | patches.map(mod(major, minor, _)) | current
237237
case _ =>
238238
throw new RuntimeException(s"Could not parse Paiges version: $version")

0 commit comments

Comments
 (0)