You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only files in the top-level directory are collected. Files within subdirectories are not included.
Expected Behaviour
The handlePaths function currently does not correctly handle paths that contain sub-directories. When a directory is provided, the function should collect all files, including those within sub-directories. However, it only collects files in the top-level directory.
Steps to Reproduce:
Create a directory with multiple files and at least one subdirectory containing additional files. $ cd samples; mkdir subSample; cd subSample; and add a sbom here
Now run $ sbomqs score sample
It will only provide score for files present under sample but not under subSample dir.
The text was updated successfully, but these errors were encountered:
Actual Behaviour
Only files in the top-level directory are collected. Files within subdirectories are not included.
Expected Behaviour
The handlePaths function currently does not correctly handle paths that contain sub-directories. When a directory is provided, the function should collect all files, including those within sub-directories. However, it only collects files in the top-level directory.
Steps to Reproduce:
Create a directory with multiple files and at least one subdirectory containing additional files.
$ cd samples; mkdir subSample; cd subSample; and add a sbom here
Now run
$ sbomqs score sample
It will only provide score for files present under sample but not under subSample dir.
The text was updated successfully, but these errors were encountered: