Skip to content

Commit a844e35

Browse files
committed
Fix package related build issues and test git issue
1 parent cad745f commit a844e35

File tree

3 files changed

+336
-143
lines changed

3 files changed

+336
-143
lines changed

package-lock.json

Lines changed: 113 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/function.test.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -816,9 +816,12 @@ async function copyWorkspaceToTemp(
816816
const gitPath = path.join(tempDir, workspace);
817817
await execAsync('git init', { cwd: gitPath });
818818
await execAsync('git add .', { cwd: gitPath });
819-
await execAsync('git commit -m "commit for test purposes"', {
820-
cwd: gitPath,
821-
});
819+
await execAsync(
820+
'git commit --author "Testy McTestface <test@example.com>" -m "commit for test purposes"',
821+
{
822+
cwd: gitPath,
823+
},
824+
);
822825
}
823826
return tempDir;
824827
}

0 commit comments

Comments
 (0)