Linting Modifications.

This commit is contained in:
n1073645 2020-06-24 09:00:46 +01:00 committed by GitHub
parent 7e9c6ec2aa
commit 228a8ba55c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,7 +140,6 @@ class ToTable extends Operation {
rowOutput += " " + " ".repeat(longestCells[rowCount]) + " " + verticalBorder; rowOutput += " " + " ".repeat(longestCells[rowCount]) + " " + verticalBorder;
rowCount += 1; rowCount += 1;
} }
rowOutput += "\n"; rowOutput += "\n";
return rowOutput; return rowOutput;
} }
@ -194,7 +193,7 @@ class ToTable extends Operation {
* @param {string} cellType * @param {string} cellType
*/ */
function outputRow(row, cellType) { function outputRow(row, cellType) {
let rowCount = 0 let rowCount = 0;
let output = "<tr>"; let output = "<tr>";
row.forEach(function(cell) { row.forEach(function(cell) {
output += "<" + cellType + ">" + cell + "</" + cellType + ">"; output += "<" + cellType + ">" + cell + "</" + cellType + ">";