Skip to content

Commit a9383da

Browse files
committed
JS: Autoformat
1 parent bc4c178 commit a9383da

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

javascript/ql/src/semmle/javascript/Closure.qll

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@ module Closure {
130130
}
131131

132132
pragma[noinline]
133-
private ClosureRequireCall getARequireInTopLevel(ClosureModule m) {
134-
result.getTopLevel() = m
135-
}
133+
private ClosureRequireCall getARequireInTopLevel(ClosureModule m) { result.getTopLevel() = m }
136134

137135
/**
138136
* A module using the Closure module system, declared using `goog.module()` or `goog.declareModuleId()`.
@@ -151,7 +149,8 @@ module Closure {
151149
string getClosureNamespace() { result = getModuleDeclaration().getClosureNamespace() }
152150

153151
override Module getAnImportedModule() {
154-
result.(ClosureModule).getClosureNamespace() = getARequireInTopLevel(this).getClosureNamespace()
152+
result.(ClosureModule).getClosureNamespace() =
153+
getARequireInTopLevel(this).getClosureNamespace()
155154
}
156155

157156
/**

0 commit comments

Comments
 (0)