We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ff733 commit 29d5373Copy full SHA for 29d5373
src/parser.ts
@@ -47,7 +47,7 @@ export class Parser {
47
48
try {
49
const res = await cpExec(`git config user.email`, {cwd: this.cwd});
50
- gitlabUser['GITLAB_USER_LOGIN'] = res.stdout.trimEnd().replace('/@.*/g', '');
+ gitlabUser['GITLAB_USER_LOGIN'] = res.stdout.trimEnd().replace(/@.*/, '');
51
gitlabUser['GITLAB_USER_EMAIL'] = res.stdout.trimEnd();
52
} catch (e) {}
53
0 commit comments