Skip to content

Commit 605d6dc

Browse files
committed
again, the adobe parser being idiotic
1 parent 17560a2 commit 605d6dc

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

system/core/util/Util.cfc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,7 @@ component {
420420
if ( isObject( arguments.component ) ) {
421421
arguments.md = getMetadata( arguments.component );
422422
} else {
423-
arguments.md = server.keyExists( "boxlang" ) ? getClassMetadata( arguments.component ) : getComponentMetadata(
424-
arguments.component
425-
);
423+
arguments.md = server.keyExists( "boxlang" ) ? getClassMetadata( arguments.component ) : getComponentMetadata( arguments.component );
426424
}
427425
}
428426

@@ -431,7 +429,9 @@ component {
431429
arguments.md.keyExists( "extends" ) AND
432430
!arguments.md.extends.isEmpty() AND
433431
listFindNoCase( "class,component", arguments.md.extends.type ) AND
434-
!stopClassRecursion( arguments.md.extends.name, arguments.stopRecursions )
432+
!stopClassRecursion(
433+
arguments.md.extends.name, arguments.stopRecursions
434+
)
435435
) {
436436
loc.parent = getInheritedMetaData(
437437
component = arguments.component,

system/web/routing/Router.cfc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2128,7 +2128,10 @@ component
21282128
var body = event.getHTTPContent( json: true )
21292129
var params = body.params ?: {}
21302130
var options = body.options ?: {}
2131-
var outputs = ( body.inputs ?: [] ).map( ( input ) => {
2131+
var inputs = body.inputs ?: []
2132+
2133+
// Map the incoming outputs
2134+
var outputs = inputs.map( ( input ) => {
21322135
try {
21332136
return {
21342137
output : runnableInstance.run( input, params, options ),

0 commit comments

Comments
 (0)