mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
lint failure
This commit is contained in:
parent
23ea4b6739
commit
b5a967ab43
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ export default Ember.Component.extend({
|
|||
const isTable = columns.reduce((a, b) => a && columns[0] === b && b > 1);
|
||||
|
||||
if (isTable) {
|
||||
const splitterRow = [...Array(columns[0])].map(c => "---").join("\t");
|
||||
const splitterRow = [...Array(columns[0])].map(() => "---").join("\t");
|
||||
rows.splice(1, 0, splitterRow);
|
||||
|
||||
return "|" + rows.map(r => r.split("\t").join("|")).join("|\n|") + "|\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue