From de256436f60e0c6a694ad0d1ae0a795dfc657f41 Mon Sep 17 00:00:00 2001 From: Gavin Mogan Date: Sat, 31 May 2025 12:09:37 -0700 Subject: [PATCH 1/3] Fix: Handle docker build trying to access empty plugin directory not being created by docker copy --- build.plugins.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.plugins.js b/build.plugins.js index c7fcde93..cab0daa7 100644 --- a/build.plugins.js +++ b/build.plugins.js @@ -1,4 +1,4 @@ -const { readdirSync, statSync, writeFileSync } = require('fs'); +const { readdirSync, statSync, writeFileSync, existsSync } = require('fs'); const { join } = require('path'); function isNonEmptyFolder(folderPath) { @@ -18,6 +18,10 @@ function isNonEmptyFolder(folderPath) { // Function to get all non-empty folders function getNonEmptyFolders(rootFolder) { const result = []; + if (!existsSync(rootFolder)) { + return result; + } + const items = readdirSync(rootFolder); items.forEach((item) => { From 4d21b775a0d0042a9699e8e5ac7bb54c561d0772 Mon Sep 17 00:00:00 2001 From: Enno Gelhaus Date: Wed, 4 Jun 2025 10:25:25 +0200 Subject: [PATCH 2/3] fix: correct comment typo --- apps/workers/src/app/stars.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/workers/src/app/stars.controller.ts b/apps/workers/src/app/stars.controller.ts index 7ba1e9a8..c9b4c8d2 100644 --- a/apps/workers/src/app/stars.controller.ts +++ b/apps/workers/src/app/stars.controller.ts @@ -13,7 +13,7 @@ export class StarsController { ) {} @EventPattern('check_stars', Transport.REDIS) async checkStars(data: { login: string }) { - // no to be effected by the limit, we scrape the HTML instead of using the API + // not to be affected by the limit, we scrape the HTML instead of using the API const loadedHtml = await ( await fetch(`https://github.com/${data.login}`) ).text(); From 0f49e1969ff7d8b05651d4076231e66908ed4737 Mon Sep 17 00:00:00 2001 From: Enno Gelhaus Date: Wed, 4 Jun 2025 14:59:55 +0200 Subject: [PATCH 3/3] Aktualisieren von version.txt --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index f90a7b3c..16859c15 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v1.39.1 +v1.46.0 \ No newline at end of file