aboutcode-org / aboutcode-org/scancode-toolkit

Setting `strip_root=True` when calling `cli.run_scan()` does not strip the root from Resource paths

Open
#2,985 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.