Compare commits
3 Commits
26e0e5dd22
...
b4654a24e2
Author | SHA1 | Date | |
---|---|---|---|
b4654a24e2 | |||
74ae3057f3 | |||
738dd0024a |
@ -13,4 +13,9 @@ Thumbs.db
|
|||||||
docs
|
docs
|
||||||
.gitignore
|
.gitignore
|
||||||
LICENSE.txt
|
LICENSE.txt
|
||||||
CODE_OF_CONDUCT.md
|
CODE_OF_CONDUCT.md
|
||||||
|
Dockerfile
|
||||||
|
.dockerignore
|
||||||
|
quartz.config.ts
|
||||||
|
quartz.layout.ts
|
||||||
|
content
|
@ -58,7 +58,7 @@ export const CreatedModifiedDate: QuartzTransformerPlugin<Partial<Options>> = (u
|
|||||||
// Get a reference to the main git repo.
|
// Get a reference to the main git repo.
|
||||||
// It's either the same as the workdir,
|
// It's either the same as the workdir,
|
||||||
// or 1+ level higher in case of a submodule/subtree setup
|
// 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()}`));
|
console.log(chalk.green(`Git repository found at: ${repo.path()}`));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user