@@ -139,18 +139,6 @@ class AferoSystemAccess extends FileSystemAccess::Range, DataFlow::CallNode {
139139 mcn .hasQualifiedName ( "github.com/spf13/afero" ,
140140 [ "WriteReader" , "SafeWriteReader" , "WriteFile" , "ReadFile" , "ReadDir" ] ) and
141141 this = mcn .getACall ( )
142- or
143- mcn .hasQualifiedName ( "github.com/spf13/afero" , "Open" ) and
144- this = mcn .getACall ( )
145- )
146- or
147- exists ( DataFlow:: Function mcn |
148- mcn .hasQualifiedName ( "github.com/spf13/afero" ,
149- [ "WriteReader" , "SafeWriteReader" , "WriteFile" , "ReadFile" , "ReadDir" ] ) and
150- this = mcn .getACall ( )
151- or
152- mcn .hasQualifiedName ( "github.com/spf13/afero" , "Open" ) and
153- this = mcn .getACall ( )
154142 )
155143 or
156144 exists ( DataFlow:: Method mcn |
@@ -189,9 +177,6 @@ class AferoSystemAccess extends FileSystemAccess::Range, DataFlow::CallNode {
189177
190178 override DataFlow:: Node getAPathArgument ( ) {
191179 if
192- this .getTarget ( )
193- .hasQualifiedName ( "github.com/spf13/afero" ,
194- [ "WriteReader" , "SafeWriteReader" , "WriteFile" , "ReadFile" , "ReadDir" ] ) or
195180 this .getTarget ( )
196181 .hasQualifiedName ( "github.com/spf13/afero" ,
197182 [ "WriteReader" , "SafeWriteReader" , "WriteFile" , "ReadFile" , "ReadDir" ] )
0 commit comments