Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Step 4 Query
Browse files Browse the repository at this point in the history
  • Loading branch information
Chan9390 committed Jul 24, 2021
1 parent 6f101c3 commit 70dc0d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions calls-to-dollar-arg.ql
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import javascript

from CallExpr dollarCall, Expr dollarArg
where dollarCall.getCalleeName() = "$" and
dollarArg = dollarCall.getArgument(0)
select dollarArg

2 comments on commit 70dc0d8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 query changed between 6f101c3 and 70dc0d8 after push to refs/heads/step-4:

  • calls-to-dollar-arg.ql

Results for calls-to-dollar-arg.ql: correct (737 results)

@github-learning-lab
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulations, looks like the query you introduced for step 4 finds the correct results!

Merge this Pull Request (unless you're on the default branch), and take a look at the instructions for the next step to continue.

Please sign in to comment.