Skip to content

feat(auth): ignore user cancel when session is expired on hostedui si… #1062

feat(auth): ignore user cancel when session is expired on hostedui si…

feat(auth): ignore user cancel when session is expired on hostedui si… #1062

Triggered via push January 31, 2025 18:55
Status Failure
Total duration 40s
Artifacts

swiftlint.yml

on: push
run-swiftlint
16s
run-swiftlint
Confirm Passing SwiftLint
0s
Confirm Passing SwiftLint
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
run-swiftlint: AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Actions/SignOut/ShowHostedUISignOut.swift#L49
Else and catch should be on the same line, one space after the previous declaration (statement_position)
run-swiftlint: AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Actions/SignOut/ShowHostedUISignOut.swift#L58
Else and catch should be on the same line, one space after the previous declaration (statement_position)
run-swiftlint
Process completed with exit code 2.
Confirm Passing SwiftLint
Process completed with exit code 1.
run-swiftlint: Amplify/Categories/API/Interceptor/URLRequestInterceptor.swift#L22
TODOs should be resolved (turn async https://github.com/...) (todo)
run-swiftlint: Amplify/Categories/API/Operation/NondeterminsticOperation.swift#L8
Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)
run-swiftlint: Amplify/Categories/API/Operation/RetryableGraphQLOperation.swift#L134
Variable name 'it' should be between 3 and 40 characters long (identifier_name)
run-swiftlint: Amplify/Categories/API/Operation/RetryableGraphQLOperation.swift#L11
Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)
run-swiftlint: Amplify/Categories/Storage/Result/StorageListResult.swift#L35
Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)
run-swiftlint: Amplify/Categories/Storage/Operation/Request/StorageDownloadDataRequest.swift#L20
Lines should not have trailing whitespace (trailing_whitespace)
run-swiftlint: Amplify/Categories/Hub/HubChannel.swift#L48
Function should have complexity 10 or less; currently complexity is 12 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryOperator.swift#L23
Function should have complexity 10 or less; currently complexity is 15 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryOperator.swift#L69
Function should have complexity 10 or less; currently complexity is 13 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryPredicate.swift#L78
`where` clauses are preferred over a single `if` inside a `for` (for_where)