From 426fc924fba28ec898681ad7f7010456554f061e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 9 Jun 2022 13:51:29 +0530 Subject: Upgrade ktfmt (#1942) * build-logic: upgrade ktfmt * all: reformat --- format-common/src/main/kotlin/dev/msfjarvis/aps/util/totp/Otp.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'format-common/src') diff --git a/format-common/src/main/kotlin/dev/msfjarvis/aps/util/totp/Otp.kt b/format-common/src/main/kotlin/dev/msfjarvis/aps/util/totp/Otp.kt index 0a3921db..1a548d92 100644 --- a/format-common/src/main/kotlin/dev/msfjarvis/aps/util/totp/Otp.kt +++ b/format-common/src/main/kotlin/dev/msfjarvis/aps/util/totp/Otp.kt @@ -41,7 +41,8 @@ internal object Otp { code[0] = (0x7f and code[0].toInt()).toByte() val codeInt = ByteBuffer.wrap(code).int check(codeInt > 0) - // SteamGuard is a horrible OTP implementation that generates non-standard 5 digit OTPs as well + // SteamGuard is a horrible OTP implementation that generates non-standard 5 digit OTPs as + // well // as uses a custom character set. if (digits == "s" || issuer == "Steam") { var remainingCodeInt = codeInt -- cgit v1.2.3