Closed slingerbv closed 1 week ago
ChatGPT suggests fix here: https://chatgpt.com/share/ae6cee74-78ce-4ed2-b1a9-85789615585c
But please do not stop the mining process, just warn loudly.
Change the line to:
Logger.Warning(srcML is not available. We will only mine code for which we have our own parsers, which are PHP and Python.
, Logger.GetCallerLocation());
And then don't return, because then it will not create a miner.
This was apparently already fixed!
If srcML is not installed, we should get a warning. Otherwise, a lot of times only 0 methods will be found and the tool is as good as useless.