We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ce64cf + ef77e21 commit d202368Copy full SHA for d202368
packages/backend/src/ee/githubAppManager.ts
@@ -49,8 +49,11 @@ export class GithubAppManager {
49
public async init(db: PrismaClient) {
50
this.db = db;
51
const config = await loadConfig(env.CONFIG_PATH!);
52
- const githubApps = config.apps?.filter(app => app.type === 'githubApp') as GithubAppConfig[];
+ if (!config.apps) {
53
+ return;
54
+ }
55
56
+ const githubApps = config.apps.filter(app => app.type === 'githubApp') as GithubAppConfig[];
57
logger.info(`Found ${githubApps.length} GitHub apps in config`);
58
59
for (const app of githubApps) {
0 commit comments