You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two queries should be equivalent and include both results:
Message.Text : assigned OR Message.Text : eval
Message.Text : eval OR Message.Text : assigned
Actual behavior
C:\>sarif query simple-example2.sarif -w -e "Message.Text : assigned OR Message.Text : eval"
C:\dev\sarif\sarif-tutorials\samples\Introduction\simple-example.js(500,4): error no-eval: eval can be harmful.
Found 1 of 2 results matched in 0.2s.
C:\>sarif query simple-example2.sarif -w -e "Message.Text : eval OR Message.Text : assigned"
C:\dev\sarif\sarif-tutorials\samples\Introduction\simple-example.js(1,5): error no-unused-vars: 'x' is assigned a value but never used.
Found 1 of 2 results matched in 0.2s.
The text was updated successfully, but these errors were encountered:
With this example SARIF:
Expected behavior
These two queries should be equivalent and include both results:
Message.Text : assigned OR Message.Text : eval
Message.Text : eval OR Message.Text : assigned
Actual behavior
The text was updated successfully, but these errors were encountered: