aboutcode-org / aboutcode-org/scancode-toolkit

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

Đang mở
#2,985 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug core and api
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.