We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a835c9b commit a62bfc0Copy full SHA for a62bfc0
packages/docusaurus-plugin-content-docs/src/lastUpdate.ts
@@ -42,7 +42,9 @@ export async function getFileLastUpdate(
42
return null;
43
}
44
45
- const result = shell.exec(`git log -1 --format=%ct,%an ${filePath}`);
+ const result = shell.exec(`git log -1 --format=%ct,%an ${filePath}`, {
46
+ silent: true,
47
+ });
48
if (result.code !== 0) {
49
throw new Error(
50
`Retrieval of git history failed at ${filePath} with exit code ${result.code}: ${result.stderr}`,
0 commit comments