File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1636,9 +1636,11 @@ class JavaScript extends Adapter {
16361636
16371637 const doc = await this . getObjectViewAsync ( 'script' , 'javascript' , { } ) ;
16381638 if ( doc ?. rows ?. length ) {
1639+ this . log . info ( `_FB_: Found ${ doc . rows . length } scripts` ) ;
1640+ let docRows = doc . rows ;
16391641 // assemble global script
1640- for ( let g = 0 ; g < doc . rows . length ; g ++ ) {
1641- const obj = doc . rows [ g ] . value ;
1642+ for ( let g = 0 ; g < docRows . length ; g ++ ) {
1643+ const obj = docRows [ g ] . value ;
16421644 if ( checkIsGlobal ( obj ) ) {
16431645 if ( obj && obj . common ) {
16441646 const engineType = ( obj . common . engineType || '' ) . toLowerCase ( ) ;
@@ -1732,7 +1734,7 @@ class JavaScript extends Adapter {
17321734 }
17331735 } else {
17341736 // javascript
1735- this . log . info ( `${ obj . _id } : concatenating global script...` ) ;
1737+ this . log . info ( `_FB_: ${ obj . _id } : concatenating global script...` ) ;
17361738 const sourceCode = obj . common . source ;
17371739 this . globalScript += `${ sourceCode } \n` ;
17381740
You can’t perform that action at this time.
0 commit comments