Skip to content

Commit

Permalink
style(vulnerable-code): Unwrap lines that do not need wrapping
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Nov 30, 2023
1 parent 33be29a commit 58f1155
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ class VulnerableCode(name: String, config: VulnerableCodeConfiguration) : Advice
override val details = AdvisorDetails(providerName, enumSetOf(AdvisorCapability.VULNERABILITIES))

private val service by lazy {
VulnerableCodeService.create(
config.serverUrl, config.apiKey, OkHttpClientHelper.buildClient()
)
VulnerableCodeService.create(config.serverUrl, config.apiKey, OkHttpClientHelper.buildClient())
}

override suspend fun retrievePackageFindings(packages: Set<Package>): Map<Package, AdvisorResult> {
Expand Down

0 comments on commit 58f1155

Please sign in to comment.