mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-09 14:22:27 +02:00
test: fix Windows test for gitUtils (#6951)
* test: fix Windows test for gitUtils * change this * fix
This commit is contained in:
parent
5ee7e8c48e
commit
c696dc2cd6
2 changed files with 9 additions and 4 deletions
|
@ -53,6 +53,8 @@ export function getFileCommitDate(
|
|||
);
|
||||
}
|
||||
|
||||
// Commit time and author name; not using author time so that amended commits
|
||||
// can have their dates updated
|
||||
let formatArg = '--format=%ct';
|
||||
if (includeAuthor) {
|
||||
formatArg += ',%an';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue