Open SoheilKhodayari opened 1 year ago
Oh, that's not nice. Are you on the refactoring branch?
First guess is, that the standalone ./js2cpg behaves differently than the (relatively new) jssrc default frontend in joern. Not sure about js2cpg's dependencies.
Are you on the refactoring branch?
Yes, I am testing that one!
When running the discovery rule for JS pattern 76 in joern console, all compulsory fields including the
lineNumber
are included in the output. However, when running the same query with the tp-framework, the query results are different, e.g.,lineNumber
is missing.joern console output
tp-framework output: