aboutcode-org / aboutcode-org/scancode-toolkit

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

未關閉
#2,985 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug core and api
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。