mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Fixes CI
This commit is contained in:
@@ -19,8 +19,6 @@ module Cors {
|
||||
predicate isDefault() { this.getNumArgument() = 0 }
|
||||
|
||||
/** Gets the value of origin */
|
||||
DataFlow::Node getOrigin() {
|
||||
result = this.getOptionArgument(0, "origin")
|
||||
}
|
||||
DataFlow::Node getOrigin() { result = this.getOptionArgument(0, "origin") }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1079,6 +1079,7 @@ module Express {
|
||||
class CorsConfiguration extends DataFlow::MethodCallNode {
|
||||
CorsConfiguration() { exists(Express::RouteSetup setup | this = setup | setup.isUseCall()) }
|
||||
|
||||
/** Gets the cors argument */
|
||||
Cors::Cors getArgument() { result = this.getArgument(0) }
|
||||
|
||||
/** Gets the options used to configure `cors`. */
|
||||
|
||||
Reference in New Issue
Block a user