aboutcode-org / aboutcode-org/scancode-toolkit

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

Aperta
#2,985 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug core and api
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.