-
Notifications
You must be signed in to change notification settings - Fork 352
Closed as duplicate of#2896
Labels
analyzerAbout the analyzer toolAbout the analyzer tool
Description
Scanning a non-VCS directory gives the following error:
Steps:
- Download zip from github, unzip.
- run -
ort analyze
- Error.
Exception in thread "main" java.lang.IllegalArgumentException: The VcsInfo(...)
at org.ossreviewtoolkit.model.OrtResult.getFilePathRelativeToAnalyzerRoot(OrtResult.kt:233)
at org.ossreviewtoolkit.model.OrtResult.getDefinitionFilePathRelativeToAnalyzerRoot(OrtResult.kt:199)
...
Based on the https://github.com/oss-review-toolkit/ort/blob/main/model/src/main/kotlin/OrtResult.kt#L230 it shouldn't terminate in Exception in thread main
, right?
Is there a workaround or ORT can only scan VCS repositories?
Thanks.
Metadata
Metadata
Assignees
Labels
analyzerAbout the analyzer toolAbout the analyzer tool