There is an incorrect import path in the vulntotal/datasources/github.py file. The current import statement:
from fetchcode.package_versions import github_response
should be updated to:
from fetchcode.utils import github_response
Steps to Reproduce:
- Attempt to run the code in vulntotal/datasources/github.py.
- Observe the import error indicating that github_response cannot be found in fetchcode.package_versions.
Expected Behavior:
- The import should work correctly, and the github_response function should be imported from fetchcode.utils.
Additional Context:
- This change is necessary to align with the current structure of the fetchcode package.
There is an incorrect import path in the vulntotal/datasources/github.py file. The current import statement:
should be updated to:
Steps to Reproduce:
Expected Behavior:
Additional Context: