Skip to content

Commit 9c22d0b

Browse files
style: fix yarn format
1 parent 4af61cf commit 9c22d0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lambdas/functions/webhook/src/ConfigLoader.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ describe('ConfigLoader Tests', () => {
213213
});
214214

215215
await expect(ConfigWebhook.load()).rejects.toThrow(
216-
'Failed to load config: Failed to parse combined matcher config: Expected \',\' or \']\' after array element in JSON at position 196 (line 1 column 197)', // eslint-disable-line max-len
216+
"Failed to load config: Failed to parse combined matcher config: Expected ',' or ']' after array element in JSON at position 196 (line 1 column 197)", // eslint-disable-line max-len
217217
);
218218
});
219219
});

lambdas/functions/webhook/src/ConfigLoader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ abstract class MatcherAwareConfig extends BaseConfig {
9191
matcherConfig: RunnerMatcherConfig[] = [];
9292

9393
protected async loadMatcherConfig(paramPathsEnv: string) {
94-
if (!paramPathsEnv || paramPathsEnv === 'undefined' || paramPathsEnv === 'null' || !paramPathsEnv.includes(':')) {
95-
await this.loadParameter(paramPathsEnv, 'matcherConfig');
94+
if (!paramPathsEnv || paramPathsEnv === 'undefined' || paramPathsEnv === 'null' || !paramPathsEnv.includes(':')) {
95+
await this.loadParameter(paramPathsEnv, 'matcherConfig');
9696
return;
9797
}
9898

0 commit comments

Comments
 (0)