File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5 Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -469,7 +469,8 @@ class CustomController extends SapExtendCall {
469469 }
470470
471471 Component getOwnerComponent ( ) {
472- exists ( ManifestJson manifestJson , JsonObject rootObj | manifestJson = result .getManifestJson ( ) |
472+ exists ( ManifestJson manifestJson , JsonObject rootObj |
473+ manifestJson = result .getManifestJson ( ) and
473474 rootObj
474475 .getPropValue ( "targets" )
475476 .( JsonObject )
@@ -774,7 +775,7 @@ class Component extends SapExtendCall {
774775 ] ) .getAMemberCall ( "extend" )
775776 }
776777
777- string getId ( ) { result = this .getName ( ) .regexpCapture ( "([a-zA-Z0-9.] +).Component" , 1 ) }
778+ string getId ( ) { result = this .getName ( ) .regexpCapture ( "(. +).Component" , 1 ) }
778779
779780 ManifestJson getManifestJson ( ) {
780781 this .getMetadata ( ) .getAPropertySource ( "manifest" ) .asExpr ( ) .( StringLiteral ) .getValue ( ) = "json" and
You can’t perform that action at this time.
0 commit comments