ignore this stupid err
All checks were successful
Deploy & Publish Image / deploy (ubuntu-latest, 2.44.0) (push) Successful in 4m24s

Took 16 minutes
This commit is contained in:
2024-10-10 17:00:27 -04:00
parent 1a1e854d73
commit f604af5d4c

View File

@ -35,7 +35,9 @@ const getDocsDirectory = async (): Promise<string> => {
// Pull the latest changes from the repo if we don't have it
if (!fs.existsSync(cacheDir) || fs.readdirSync(cacheDir).length < 1) {
await simpleGit().clone(DOCS_DIR, cacheDir, { "--depth": 1 });
try {
await simpleGit().clone(DOCS_DIR, cacheDir, { "--depth": 1 });
} catch (error) {}
}
return cacheDir;
}