diff --git a/index.js b/index.js index 3803b7f..78a9752 100644 --- a/index.js +++ b/index.js @@ -557,7 +557,7 @@ function convertIssuesAndComments(str, item) { // They all have a '#' right after the project name in the issues but we have them without in projectmap let strWithMigLine = addMigrationLine(str, item); - strWithMigLine.replace(userProjectRe, matched => { + strWithMigLine = strWithMigLine.replace(userProjectRe, matched => { if (matched.startsWith('@')) { // this is a userid return '@' + settings.usermap[matched.substr(1)]; @@ -631,4 +631,4 @@ function inform(msg) { console.log("=================================="); console.log(msg) console.log("=================================="); -} \ No newline at end of file +}