Skip to content

Commit fff2ce1

Browse files
committed
detekt
1 parent 4352800 commit fff2ce1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/credentials/ToolkitAuthManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ fun maybeReauthProviderIfNeeded(
334334
return@runUnderProgressIfNeeded false
335335
}
336336
} catch (e: Exception) {
337-
when (e){
337+
when (e) {
338338
is SsoOidcException -> {
339339
AuthTelemetry.sourceOfRefresh(authRefreshSource = reauthSource.toString())
340340
getLogger<ToolkitAuthManager>().warn(e) { "Redriving bearer token login flow since token could not be refreshed" }

plugins/core/jetbrains-community/tst/software/aws/toolkits/jetbrains/core/credentials/ToolkitAuthManagerTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
package software.aws.toolkits.jetbrains.core.credentials
55

6-
76
import com.intellij.notification.Notifications
87
import com.intellij.openapi.project.Project
98
import com.intellij.testFramework.ApplicationExtension

0 commit comments

Comments
 (0)