Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 46b996a

Browse files
committed
JS: autoformat ¯\_(ツ)_/¯
1 parent 8924aa3 commit 46b996a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • javascript/ql/src/semmle/javascript

javascript/ql/src/semmle/javascript/Expr.qll

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ class ExprOrType extends @exprortype, Documentable {
2929
not exists(getOwnDocumentation()) and
3030
if getParent() instanceof Property
3131
then result = getParent().(Property).getDocumentation()
32-
else if getParent() instanceof MethodDeclaration
33-
then result = getParent().(MethodDeclaration).getDocumentation()
34-
else result = getEnclosingStmt().getDocumentation()
32+
else
33+
if getParent() instanceof MethodDeclaration
34+
then result = getParent().(MethodDeclaration).getDocumentation()
35+
else result = getEnclosingStmt().getDocumentation()
3536
)
3637
}
3738

0 commit comments

Comments
 (0)