Skip to content

Commit d234148

Browse files
committed
Fix LHS assignment error
1 parent 96b2d69 commit d234148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/filespec.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
}
2929
{
3030
def textLangCount = any { textLanguages.size() } { 0 }
31-
def substat = textLangCount > 2 ? ", MULTi" : textLangCount > 1 ? ", DUAL" : textLangCount = 1 ? ", SUB" : null
31+
def substat = textLangCount > 2 ? ", MULTi" : textLangCount > 1 ? ", DUAL" : textLangCount == 1 ? ", SUB" : null
3232
def langs_ = textLangCount > 5 ? textLanguages.take(5) : textLanguages
3333
substat ? substat + langs_.joining(" ", " (", "").upper() + (textLangCount > 6 ? " ...)" : ")") : ""
3434
}

0 commit comments

Comments
 (0)