We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a844e35 commit b9a57a2Copy full SHA for b9a57a2
test/function.test.ts
@@ -816,12 +816,16 @@ async function copyWorkspaceToTemp(
816
const gitPath = path.join(tempDir, workspace);
817
await execAsync('git init', { cwd: gitPath });
818
await execAsync('git add .', { cwd: gitPath });
819
- await execAsync(
820
- 'git commit --author "Testy McTestface <test@example.com>" -m "commit for test purposes"',
821
- {
822
- cwd: gitPath,
823
- },
824
- );
+ await execAsync('git config user.email "test@example.com"', {
+ cwd: gitPath,
+ });
+ await execAsync('git config user.name "Testy McTestface"', {
825
+
826
+ await execAsync('git commit -m "commit for test purposes"', {
827
828
829
}
830
return tempDir;
831
0 commit comments