[x] All tests passed. If this feature is not already covered by the tests, I added new tests.
[x] I used npm run format for formatting the code before submitting the pull request.
This problem pertains to the Applicability scan in Python projects:
When gathering the directories for running the applicability scan, we erroneously select the parent directory of the workspace instead of the workspace itself. This can lead to running the applicability scan on irrelevant directories, ultimately resulting in a timeout issue in my environment.
In a more technical sense, we perform fileScanBundle instanceof EnvironmentTreeNode instead of fileScanBundle.dataNode instanceof EnvironmentTreeNode.
[x] I used
npm run format
for formatting the code before submitting the pull request.This problem pertains to the Applicability scan in Python projects: When gathering the directories for running the applicability scan, we erroneously select the parent directory of the workspace instead of the workspace itself. This can lead to running the applicability scan on irrelevant directories, ultimately resulting in a timeout issue in my environment.
In a more technical sense, we perform
fileScanBundle instanceof EnvironmentTreeNode
instead offileScanBundle.dataNode instanceof EnvironmentTreeNode
.