fix code style
diff --git a/index.js b/index.js
index ea21128..62a417d 100644
--- a/index.js
+++ b/index.js
@@ -201,7 +201,7 @@
body: commentText
}));
- logger.info('issue needs translation: ' + needTranslate)
+ logger.info('issue needs translation: ' + needTranslate);
// translate the issue if needed
if (needTranslate) {
@@ -238,7 +238,7 @@
body: translateComment
})
);
- logger.info(`issue translated - ${Date.now() - startTime}ms`)
+ logger.info(`issue translated - ${Date.now() - startTime}ms`);
}
}
}
diff --git a/src/util.js b/src/util.js
index 83827c1..e10fdfe 100644
--- a/src/util.js
+++ b/src/util.js
@@ -1,6 +1,6 @@
function removeCodeAndComment(body) {
return body
- .replace(/<!--[\w\W\s]*?-->/gmi, '')
+ .replace(/<!--[\w\W\s]*?-->/gmi, '')
.replace(/`{3}(.|\n)*`{3}/gmi, '')
.replace(/#.*\s?/g, '')
.replace(/-{3}\s?/g, '');