Skip to content

Commit

Permalink
Fix inconsistent class name and issue id
Browse files Browse the repository at this point in the history
  • Loading branch information
atulgpt committed Jan 11, 2023
1 parent e4e163f commit 5967c79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ import org.jetbrains.kotlin.resolve.descriptorUtil.fqNameSafe
@RequiresTypeResolution
class SuspendFunSwallowedCancellation(config: Config) : Rule(config) {
override val issue = Issue(
id = "SuspendFunInsideRunCatching",
id = javaClass.simpleName,
severity = Severity.Minor,
description = "`runCatching` does not propagate `CancellationException`, don't use it with `suspend` lambda " +
"blocks.",
Expand Down

0 comments on commit 5967c79

Please sign in to comment.