Skip to content

Commit 4e5ce92

Browse files
committed
Detekt fix
1 parent e3e181e commit 4e5ce92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/neva/gradle/fork/encryption/Encryption.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal class Encryption private constructor(private val ecipher: Cipher, priva
2828
try {
2929
val utf8 = text.toByteArray(charset(CHARSET))
3030
val enc = ecipher.doFinal(utf8)
31-
return "${TOKEN_START}${encode(enc)}${TOKEN_END}"
31+
return "${TOKEN_START}${encode(enc)}$TOKEN_END"
3232
} catch (e: Exception) {
3333
throw ForkException("Encryption failed", e)
3434
}

0 commit comments

Comments
 (0)