Skip to content

Commit

Permalink
docs(scancode): Move a comment to a more relevant location
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Sep 26, 2024
1 parent a980b5d commit 062f517
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/scanners/scancode/src/main/kotlin/ScanCode.kt
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,9 @@ class ScanCode internal constructor(
val process = runScanCode(path, resultFile)

return with(process) {
if (stderr.isNotBlank()) logger.debug { stderr }

// Do not throw yet if the process exited with an error as some errors might turn out to be tolerable during
// parsing.
if (stderr.isNotBlank()) logger.debug { stderr }

resultFile.readText().also { resultFile.parentFile.safeDeleteRecursively() }
}
Expand Down

0 comments on commit 062f517

Please sign in to comment.