Skip to content

Commit

Permalink
fix:minor code
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Apr 19, 2024
1 parent 8187eab commit adc8733
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

### 🐛 Bug Fixes

- Fix bug scanning workflow files #126
- Fix bug scanning workflow files #126 #125

## 1.21.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ class GitHubActionCache(private val project: Project) : PersistentStateComponent
response: GithubApiResponse, dataClass: Class<out T>
): GraphQLResponseDTO<out T, GHGQLError> {
return response.readBody(ThrowableConvertor {
@Suppress("UNCHECKED_CAST") GithubApiContentHelper.readJsonObject(
@Suppress("UNCHECKED_CAST")
GithubApiContentHelper.readJsonObject(
it, GraphQLResponseDTO::class.java, dataClass, GHGQLError::class.java, gqlNaming = true
) as GraphQLResponseDTO<T, GHGQLError>
})
Expand Down

0 comments on commit adc8733

Please sign in to comment.