Skip to content

Commit

Permalink
fix: fix config commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarvin8 committed Apr 7, 2024
1 parent 7618ff1 commit 79f5ac7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test/commands/delta/empty.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ describe('scan commit messages without the regex and return an empty string.', (
}

if (!userName && !userEmail) {
await git.addConfig('user.name', 'CI Bot', true);
await git.addConfig('user.email', '90224411+mcarvin8@users.noreply.github.com', true);
await git.addConfig('user.name', 'CI Bot', false, 'global');
await git.addConfig('user.email', '90224411+mcarvin8@users.noreply.github.com', false, 'global');
}
fromSha = await createTemporaryCommit(
'chore: initial commit',
Expand Down
4 changes: 2 additions & 2 deletions test/commands/delta/unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ describe('return the delta tests between git commits', () => {
}

if (!userName && !userEmail) {
await git.addConfig('user.name', 'CI Bot', true);
await git.addConfig('user.email', '90224411+mcarvin8@users.noreply.github.com', true);
await git.addConfig('user.name', 'CI Bot', false, 'global');
await git.addConfig('user.email', '90224411+mcarvin8@users.noreply.github.com', false, 'global');
}
fromSha = await createTemporaryCommit(
'chore: initial commit with Apex::TestClass00::Apex',
Expand Down
4 changes: 2 additions & 2 deletions test/commands/delta/warnings.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ describe('confirm warnings are generated when files cannot be found in a package
}

if (!userName && !userEmail) {
await git.addConfig('user.name', 'CI Bot', true);
await git.addConfig('user.email', '90224411+mcarvin8@users.noreply.github.com', true);
await git.addConfig('user.name', 'CI Bot', false, 'global');
await git.addConfig('user.email', '90224411+mcarvin8@users.noreply.github.com', false, 'global');
}
fromSha = await createTemporaryCommit(
'chore: initial commit with Apex::TestClass00::Apex',
Expand Down

0 comments on commit 79f5ac7

Please sign in to comment.