File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34975,15 +34975,15 @@ class Repository {
3497534975 }
3497634976 async authenticate() {
3497734977 const authorName = this._config.repository?.commit?.author?.name || defaults_1.defaultAuthor.name;
34978- const authorEmail = this._config.repository?.commit?.author?.name ||
34978+ const authorEmail = this._config.repository?.commit?.author?.email ||
3497934979 defaults_1.defaultAuthor.email;
3498034980 try {
3498134981 await (0, processes_1.exec)(`git config user.name "${authorName}"`);
3498234982 await (0, processes_1.exec)(`git config user.email "${authorEmail}"`);
3498334983 }
3498434984 catch (error) {
3498534985 // @ts-expect-error
34986- error.message = `Error authenticating user "${authorName}" with e-mail "${author.email }": ${error.message}`;
34986+ error.message = `Error authenticating user "${authorName}" with e-mail "${authorEmail }": ${error.message}`;
3498734987 throw error;
3498834988 }
3498934989 }
You can’t perform that action at this time.
0 commit comments