fixed lastmod.ts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2024-09-07 11:40:05 +03:00
parent 74ae3057f3
commit b4654a24e2
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C

View File

@ -58,7 +58,7 @@ export const CreatedModifiedDate: QuartzTransformerPlugin<Partial<Options>> = (u
// Get a reference to the main git repo.
// It's either the same as the workdir,
// or 1+ level higher in case of a submodule/subtree setup
repo = Repository.discover(file.cwd)
repo = await Repository.discover(file.cwd, { search: true });
console.log(chalk.green(`Git repository found at: ${repo.path()}`));
}