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 @@ -24,15 +24,15 @@ export class Repository {
2424 const authorName =
2525 this . _config . repository ?. commit ?. author ?. name || defaultAuthor . name ;
2626 const authorEmail =
27- this . _config . repository ?. commit ?. author ?. name ||
27+ this . _config . repository ?. commit ?. author ?. email ||
2828 defaultAuthor . email ;
2929
3030 try {
3131 await exec ( `git config user.name "${ authorName } "` ) ;
3232 await exec ( `git config user.email "${ authorEmail } "` ) ;
3333 } catch ( error ) {
3434 // @ts -expect-error
35- error . message = `Error authenticating user "${ authorName } " with e-mail "${ author . email } ": ${ error . message } ` ;
35+ error . message = `Error authenticating user "${ authorName } " with e-mail "${ authorEmail } ": ${ error . message } ` ;
3636
3737 throw error ;
3838 }
You can’t perform that action at this time.
0 commit comments