Skip to content

Commit

Permalink
Merge pull request #1 from githubtraining/xcorail-patch-1
Browse files Browse the repository at this point in the history
Update sources.ql
  • Loading branch information
xcorail authored Sep 16, 2020
2 parents 72ad52c + 4598ef5 commit d8ae7c5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions sources.ql
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
import javascript

predicate isSource(DataFlow::Node source) {
exists(DataFlow::FunctionNode plugin |
plugin = jquery().getAPropertyRead("fn").getAPropertySource() and
source = plugin.getLastParameter()
)
}

from DataFlow::Node node
where isSource(node)
select node

1 comment on commit d8ae7c5

@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.

Please # to comment.