From 94178bbc11a89f647a9be5c873a2c4ed3cfd070f Mon Sep 17 00:00:00 2001 From: Nico Jensch Date: Sat, 16 Nov 2024 12:04:35 +0100 Subject: [PATCH] fix(backend): missing commit --- backend/src/repo-manager/repo-manager.service.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/backend/src/repo-manager/repo-manager.service.ts b/backend/src/repo-manager/repo-manager.service.ts index e0bef12..2268566 100644 --- a/backend/src/repo-manager/repo-manager.service.ts +++ b/backend/src/repo-manager/repo-manager.service.ts @@ -1228,8 +1228,10 @@ class RepoManager { counter = 0; commitMessage = `chore(bump): `; commitBody = ""; + } else { + counter++ } - } catch (err: any) { + } catch (err: unknown) { Logger.error(err, "RepoManager"); } } @@ -1247,7 +1249,7 @@ class RepoManager { }); Logger.debug(`Pushed changes to ${repo.name}`, "RepoManager"); - } catch (err: any) { + } catch (err: unknown) { Logger.error(err, "RepoManager"); } } @@ -1285,7 +1287,7 @@ class RepoManager { } } catch (err: unknown) {} - let configs = {}; + const configs = {}; let rebuildTriggers: string[]; if (configLines && configLines.length > 0) {