We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f928e4c commit 489a87fCopy full SHA for 489a87f
go/ql/lib/semmle/go/frameworks/GinCors.qll
@@ -128,7 +128,7 @@ module GinCors {
128
129
GinConfig() {
130
this = v.getBaseVariable().getSourceVariable() and
131
- exists(Type t | t.hasQualifiedName(packagePath(), "Config") | v.getType() = t)
+ v.getType().hasQualifiedName(packagePath(), "Config")
132
}
133
134
/**
go/ql/lib/semmle/go/frameworks/RsCors.qll
@@ -173,7 +173,7 @@ module RsCors {
173
174
RsOptions() {
175
176
- exists(Type t | t.hasQualifiedName(packagePath(), "Options") | v.getType() = t)
+ v.getType().hasQualifiedName(packagePath(), "Options")
177
178
179
0 commit comments