File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
javascript/ql/src/semmle/javascript Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,7 @@ module Closure {
130
130
}
131
131
132
132
pragma [ noinline]
133
- private ClosureRequireCall getARequireInTopLevel ( ClosureModule m ) {
134
- result .getTopLevel ( ) = m
135
- }
133
+ private ClosureRequireCall getARequireInTopLevel ( ClosureModule m ) { result .getTopLevel ( ) = m }
136
134
137
135
/**
138
136
* A module using the Closure module system, declared using `goog.module()` or `goog.declareModuleId()`.
@@ -151,7 +149,8 @@ module Closure {
151
149
string getClosureNamespace ( ) { result = getModuleDeclaration ( ) .getClosureNamespace ( ) }
152
150
153
151
override Module getAnImportedModule ( ) {
154
- result .( ClosureModule ) .getClosureNamespace ( ) = getARequireInTopLevel ( this ) .getClosureNamespace ( )
152
+ result .( ClosureModule ) .getClosureNamespace ( ) =
153
+ getARequireInTopLevel ( this ) .getClosureNamespace ( )
155
154
}
156
155
157
156
/**
You can’t perform that action at this time.
0 commit comments