Skip to content

Commit 86f9a0c

Browse files
committed
fix newline
1 parent 62adff7 commit 86f9a0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

semanticcpg/src/main/scala/io/shiftleft/semanticcpg/language/nodemethods/CfgNodeMethods.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ class CfgNodeMethods(val node: CfgNode) extends AnyVal with NodeExtension {
106106
case _: MethodParameterIn | _: MethodParameterOut | _: MethodReturn =>
107107
walkUpAst(node)
108108
case _: CallRepr if !node.isInstanceOf[Call] => walkUpAst(node)
109-
case _: Annotation | _: AnnotationLiteral => node.inAst.collectAll[Method].headOption.orNull case _: Expression | _: JumpTarget => walkUpContains(node)
109+
case _: Annotation | _: AnnotationLiteral => node.inAst.collectAll[Method].headOption.orNull
110+
case _: Expression | _: JumpTarget => walkUpContains(node)
110111
}
111112

112113
/** Obtain hexadecimal string representation of lineNumber field.

0 commit comments

Comments
 (0)