File tree Expand file tree Collapse file tree
lambdas/functions/webhook/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,18 +91,16 @@ abstract class MatcherAwareConfig extends BaseConfig {
9191 matcherConfig : RunnerMatcherConfig [ ] = [ ] ;
9292
9393 protected async loadMatcherConfig ( paramPathsEnv : string ) {
94- if (
95- ! paramPathsEnv ||
96- paramPathsEnv === 'undefined' ||
97- paramPathsEnv === 'null' ||
98- ! paramPathsEnv . includes ( ':' )
99- ) {
94+ if ( ! paramPathsEnv || paramPathsEnv === 'undefined' || paramPathsEnv === 'null' || ! paramPathsEnv . includes ( ':' ) ) {
10095 // Single path or invalid string → load directly
10196 await this . loadParameter ( paramPathsEnv , 'matcherConfig' ) ;
10297 return ;
10398 }
10499
105- const paths = paramPathsEnv . split ( ':' ) . map ( ( p ) => p . trim ( ) ) . filter ( Boolean ) ;
100+ const paths = paramPathsEnv
101+ . split ( ':' )
102+ . map ( ( p ) => p . trim ( ) )
103+ . filter ( Boolean ) ;
106104 let combinedString = '' ;
107105 for ( const path of paths ) {
108106 await this . loadParameter ( path , 'matcherConfig' ) ;
You can’t perform that action at this time.
0 commit comments