Skip to content

Commit 3312261

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents edba2d6 + 5a1427f commit 3312261

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

apps/workers/src/app/stars.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class StarsController {
1313
) {}
1414
@EventPattern('check_stars', Transport.REDIS)
1515
async checkStars(data: { login: string }) {
16-
// no to be effected by the limit, we scrape the HTML instead of using the API
16+
// not to be affected by the limit, we scrape the HTML instead of using the API
1717
const loadedHtml = await (
1818
await fetch(`https://github.com/${data.login}`)
1919
).text();

build.plugins.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { readdirSync, statSync, writeFileSync } = require('fs');
1+
const { readdirSync, statSync, writeFileSync, existsSync } = require('fs');
22
const { join } = require('path');
33

44
function isNonEmptyFolder(folderPath) {
@@ -18,6 +18,10 @@ function isNonEmptyFolder(folderPath) {
1818
// Function to get all non-empty folders
1919
function getNonEmptyFolders(rootFolder) {
2020
const result = [];
21+
if (!existsSync(rootFolder)) {
22+
return result;
23+
}
24+
2125
const items = readdirSync(rootFolder);
2226

2327
items.forEach((item) => {

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.39.1
1+
v1.46.0

0 commit comments

Comments
 (0)