Skip to content

Commit 33216f3

Browse files
committed
cleanup imports
1 parent 19b5f64 commit 33216f3

File tree

1 file changed

+1
-5
lines changed
  • ruby/ql/lib/codeql/ruby/frameworks/stdlib

1 file changed

+1
-5
lines changed

ruby/ql/lib/codeql/ruby/frameworks/stdlib/Open3.qll

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@
33
*/
44

55
private import ruby
6-
private import codeql.ruby.AST
7-
private import codeql.ruby.DataFlow
86
private import codeql.ruby.ApiGraphs
9-
private import codeql.ruby.frameworks.Stdlib
107
private import codeql.ruby.Concepts
11-
private import codeql.ruby.frameworks.core.Kernel
128

139
/**
1410
* Provides modeling for the `Open3` library.
@@ -58,7 +54,7 @@ module Open3 {
5854

5955
override predicate isShellInterpreted(DataFlow::Node arg) {
6056
// A command in the pipeline is executed in a subshell if it is given as a single string argument.
61-
arg.asExpr().getExpr() instanceof StringlikeLiteral and
57+
arg.asExpr().getExpr() instanceof Ast::StringlikeLiteral and
6258
arg = this.getAnArgument()
6359
}
6460
}

0 commit comments

Comments
 (0)