Skip to content

Commit 07d90b3

Browse files
committed
use instanceof in DirPathAccess
1 parent 669b0c3 commit 07d90b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/frameworks/Files.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ module Dir {
204204
/**
205205
* A call to a method on `Dir` that operates on a path as its first argument, considered as a `FileSystemAccess`.
206206
*/
207-
class DirPathAccess extends FileSystemAccess::Range, DataFlow::CallNode {
207+
class DirPathAccess extends FileSystemAccess::Range instanceof DataFlow::CallNode {
208208
DirPathAccess() {
209209
this =
210210
API::getTopLevelMember("Dir")

0 commit comments

Comments
 (0)