Skip to content

Commit

Permalink
ClearlyDefinedStorage: Slightly improve an error message
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Oct 5, 2020
1 parent 5b99914 commit ce590f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanner/src/main/kotlin/storages/ClearlyDefinedStorage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class ClearlyDefinedStorage(
readPackageFromClearlyDefined(pkg.id, pkg.vcs, pkg.sourceArtifact.takeIf { it.url.isNotEmpty() })

override fun addToStorage(id: Identifier, scanResult: ScanResult): Result<Unit> =
Failure("Storing results in ClearlyDefined is not supported.")
Failure("Adding scan results directly to ClearlyDefined is not supported.")

/**
* Try to obtain a [ScanResult] produced by ScanCode from ClearlyDefined for the package with the given [id].
Expand Down

0 comments on commit ce590f5

Please sign in to comment.