aboutcode-org / aboutcode-org/scancode-toolkit

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

Abierto
#2,985 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug core and api
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.