Skip to content

Commit

Permalink
prettier#15970: format the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Yana Peycheva committed Apr 29, 2024
1 parent dcae1bc commit c144e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/language-markdown/print/table.js
Expand Up @@ -34,8 +34,8 @@ function printTable(path, options, print) {

// All rows in the table should have the same amount of columns
for (let i = 0; i < contents.length; i++) {
while ((contents[i].length-1) < columnMaxIndex) {
contents[i].push({text: "", width: 0})
while (contents[i].length - 1 < columnMaxIndex) {
contents[i].push({ text: "", width: 0 });
}
}

Expand Down

0 comments on commit c144e2d

Please sign in to comment.