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

Commit

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

from DataFlow::Node dollarArg
where dollarArg = jquery().getACall().getArgument(0)
select dollarArg

3 comments on commit 9e63f48

@github-actions
Copy link

Choose a reason for hiding this comment

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

Hey, I am the CodeQL Learning Lab bot 🤖
I'm looking forward to checking your queries as you go through this course.

@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 bb8dbfc and 9e63f48 after push to refs/heads/step-5:

  • dollar-arg-node.ql

Results for dollar-arg-node.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 5 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.