Skip to content

Commit 3a26720

Browse files
committed
Sync identical files
1 parent d13e9ee commit 3a26720

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

javascript/ql/lib/semmle/javascript/frameworks/data/internal/ApiGraphModels.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ module ModelOutput {
878878
* Holds if `node` is specified as a barrier with the given kind in an external model.
879879
*/
880880
predicate barrierNode(DataFlow::Node node, string kind) {
881-
node = getABarrierNode(kind).asSource()
881+
node = getABarrierNode(kind).asSink()
882882
or
883883
node = DataFlow::ExternalBarrierGuard::getAnExternalBarrierNode(kind)
884884
}

ruby/ql/lib/codeql/ruby/frameworks/data/internal/ApiGraphModels.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ module ModelOutput {
878878
* Holds if `node` is specified as a barrier with the given kind in an external model.
879879
*/
880880
predicate barrierNode(DataFlow::Node node, string kind) {
881-
node = getABarrierNode(kind).asSource()
881+
node = getABarrierNode(kind).asSink()
882882
or
883883
node = DataFlow::ExternalBarrierGuard::getAnExternalBarrierNode(kind)
884884
}

0 commit comments

Comments
 (0)