Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b80e4e7

Browse files
committed
Set user.name and user.email for AppVeyor apparently
1 parent ebcb06a commit b80e4e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/helpers.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ export async function cloneRepository(repoName = 'three-files') {
3434
await git.clone(path.join(__dirname, 'fixtures', `repo-${repoName}`, 'dot-git'), {noLocal: true});
3535
await git.exec(['config', '--local', 'core.autocrlf', 'false']);
3636
await git.exec(['config', '--local', 'commit.gpgsign', 'false']);
37+
await git.exec(['config', '--local', 'user.email', '[email protected]']);
38+
await git.exec(['config', '--local', 'user.name', 'Someone']);
3739
await git.exec(['checkout', '--', '.']); // discard \r in working directory
3840
cachedClonedRepos[repoName] = cachedPath;
3941
}

0 commit comments

Comments
 (0)