Skip to content

Commit c5d8b42

Browse files
committed
debug
1 parent 4666739 commit c5d8b42

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎GANReviewTool/modules/GANReviewWikicodeGenerator.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ export class GANReviewWikicodeGenerator {
126126
getLogMessageToAppend( username, action, reviewTitle, reviewRevisionID, talkRevisionID, gaRevisionID, error ) {
127127
let textToAppend = '\n* ';
128128
if ( error ) {
129-
textToAppend += `<span style="color: red; font-weight: bold;">ERROR:</span> <code><nowiki>${ error }</nowiki></code>. `;
129+
// eslint-disable-next-line no-useless-concat
130+
textToAppend += '<span style="color: red; font-weight: bold;">ERROR:</span> <code><no' + `wiki>${ error }</no` + 'wiki></code>. ';
130131
}
131132

132133
let verb = '';

‎GANReviewTool/modules/GARCloserWikicodeGenerator.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ __TOC__`;
5151
let textToAppend = '\n* ';
5252

5353
if ( error ) {
54-
textToAppend += `<span style="color: red; font-weight: bold;">ERROR:</span> <code><nowiki>${ error }</nowiki></code>. `;
54+
// eslint-disable-next-line no-useless-concat
55+
textToAppend += '<span style="color: red; font-weight: bold;">ERROR:</span> <code><no' + `wiki>${ error }</no` + 'wiki></code>. ';
5556
}
5657

5758
const keepOrDelistPastTense = this.getKeepOrDelistPastTense( keepOrDelist );

0 commit comments

Comments
 (0)