mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-03-03 03:13:19 +00:00
fix: handle empty repository
This commit is contained in:
@@ -25,6 +25,7 @@ router.post("/", async (req: express.Request, res: express.Response) => {
|
||||
commit: commit,
|
||||
getToken: () => token,
|
||||
});
|
||||
console.log(`[FILE] ${repoId}/${filePath}`);
|
||||
const content = await source.getFileContentCache(
|
||||
filePath,
|
||||
repoId,
|
||||
|
||||
Reference in New Issue
Block a user