Skip to content

Commit cb58c85

Browse files
style: fix format
1 parent 3098478 commit cb58c85

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

lambdas/functions/webhook/src/ConfigLoader.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff 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');

0 commit comments

Comments
 (0)