mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 09:43:10 +00:00
remove shell?
This commit is contained in:
parent
829dae6eee
commit
bb36b76be2
|
|
@ -160,6 +160,13 @@ export async function getFileCommitDate(
|
|||
});
|
||||
}))!;
|
||||
|
||||
console.log('result', {
|
||||
file,
|
||||
exitCode: result.exitCode,
|
||||
stdout: result.stdout,
|
||||
stderr: result.stderr,
|
||||
});
|
||||
|
||||
if (result.exitCode !== 0) {
|
||||
throw new Error(
|
||||
`Failed to retrieve the git history for file "${file}" with exit code ${result.exitCode}: ${result.stderr}`,
|
||||
|
|
|
|||
Loading…
Reference in New Issue