aboutcode-org / aboutcode-org/scancode-toolkit
Setting `strip_root=True` when calling `cli.run_scan()` does not strip the root from Resource paths
Open
bug
core and api
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 791
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 5
Description
In my program, I am calling `cli.run_scan()` to get information using the scancode scanners. I also want to strip the roots from the paths of the Resources from the scan, but when I call `cli.run_scan()` with the argument `strip_root=True`, the root is not removed from the Resource paths.
Contributor guide
Assessment
This issue has not been assessed yet.