From c980c898de8417e16942741d469ebef8532b822a Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 28 May 2024 15:11:50 +0530 Subject: chore: reformat with trailing commas changes --- .../main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'format/common/src/main/kotlin') diff --git a/format/common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt b/format/common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt index f4dcc2b7..cd152c9a 100644 --- a/format/common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt +++ b/format/common/src/main/kotlin/app/passwordstore/data/passfile/PasswordEntry.kt @@ -205,7 +205,7 @@ constructor( millis / (THOUSAND_MILLIS * totpPeriod), totpAlgorithm, digits, - issuer + issuer, ) .mapBoth({ code -> Ok(Totp(code, remainingTime)) }, ::Err) } @@ -233,12 +233,7 @@ constructor( "identity:", ) @VisibleForTesting(otherwise = VisibleForTesting.PRIVATE) - public val PASSWORD_FIELDS: Array = - arrayOf( - "password:", - "secret:", - "pass:", - ) + public val PASSWORD_FIELDS: Array = arrayOf("password:", "secret:", "pass:") private const val THOUSAND_MILLIS = 1000L } } -- cgit v1.2.3