File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1163,6 +1163,14 @@ export class GithubHelper {
1163
1163
if ( add_line ) str = GithubHelper . addMigrationLine ( str , item , repoLink ) ;
1164
1164
let reString = '' ;
1165
1165
1166
+ // Store usernames found in the text
1167
+ const matches : Array < string > = str . match ( usernameRegex ) ;
1168
+ if ( matches && matches . length > 0 ) {
1169
+ for ( const username of matches ) {
1170
+ this . users . add ( username . substring ( 1 ) ) ;
1171
+ }
1172
+ }
1173
+
1166
1174
//
1167
1175
// User name conversion
1168
1176
//
@@ -1175,14 +1183,6 @@ export class GithubHelper {
1175
1183
) ;
1176
1184
}
1177
1185
1178
- // Store usernames found in the text
1179
- const matches : Array < string > = str . match ( usernameRegex ) ;
1180
- if ( matches && matches . length > 0 ) {
1181
- for ( const username of matches ) {
1182
- this . users . add ( username . substring ( 1 ) ) ;
1183
- }
1184
- }
1185
-
1186
1186
//
1187
1187
// Issue reference conversion
1188
1188
//
You can’t perform that action at this time.
0 commit comments