jfrog / jfrog-vscode-extension

JFrog VS-Code Extension
https://jfrog.github.io/jfrog-vscode-extension
Apache License 2.0
189 stars 34 forks source link

Applicability scanner scans the venv parent dir #411

Closed yahavi closed 11 months ago

yahavi commented 11 months ago

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.