You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/stage-vote-release-plugin/src/main/kotlin/com/github/vlsi/gradle/release/Apache2LicenseInterpreter.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -41,9 +41,9 @@ class Apache2LicenseInterpreter {
Copy file name to clipboardExpand all lines: plugins/stage-vote-release-plugin/src/main/kotlin/com/github/vlsi/gradle/release/StageVoteReleasePlugin.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -681,7 +681,7 @@ class StageVoteReleasePlugin @Inject constructor(
681
681
Pair(listOf(), mapOf())
682
682
}
683
683
684
-
val svnStagingRevision = stagedFiles.map { it.commit.revision }.max() ?:0
684
+
val svnStagingRevision = stagedFiles.map { it.commit.revision }.maxOrNull() ?:0
0 commit comments