File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
src/experimental/semmle/python/frameworks
test/experimental/library-tests/frameworks/invoke Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ private module Invoke {
100100 t .start ( ) and
101101 exists ( Function func |
102102 func .getADecorator ( ) = invoke_attr ( "task" ) .asExpr ( ) and
103- result .asExpr ( ) = func .getArg ( 0 )
103+ result .( DataFlow :: ParameterNode ) . getParameter ( ) = func .getArg ( 0 )
104104 )
105105 or
106106 exists ( DataFlow:: TypeTracker t2 | result = instance ( t2 ) .track ( t2 , t ) )
Original file line number Diff line number Diff line change 1- | invoke_test.py:31:26:31:51 | Comment # $getCommand="cmd1; cmd2" | Missing result:getCommand="cmd1; cmd2" |
2- | invoke_test.py:38:26:38:51 | Comment # $getCommand="cmd1; cmd2" | Missing result:getCommand="cmd1; cmd2" |
You can’t perform that action at this time.
0 commit comments