mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-20 06:47:32 -07:00
fix(core): Fix source control name and email being switched (#6839)
This commit is contained in:
parent
371bfa0f48
commit
6ec7033bb7
|
@ -191,8 +191,8 @@ export class SourceControlGitService {
|
|||
if (!this.git) {
|
||||
throw new Error('Git is not initialized (setGitUserDetails)');
|
||||
}
|
||||
await this.git.addConfig('user.email', name);
|
||||
await this.git.addConfig('user.name', email);
|
||||
await this.git.addConfig('user.email', email);
|
||||
await this.git.addConfig('user.name', name);
|
||||
}
|
||||
|
||||
async getBranches(): Promise<{ branches: string[]; currentBranch: string }> {
|
||||
|
|
Loading…
Reference in a new issue