Skip to content

Commit

Permalink
Fix eslint: no-lonely-if
Browse files Browse the repository at this point in the history
  • Loading branch information
tshemsedinov committed Sep 6, 2023
1 parent efd4392 commit 36fc22f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions content/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,8 @@ const generate = async (config, lang) => {
} else if (row.startsWith('- ')) {
block = BLOCK_LIST;
lines.push(row);
} else {
if (row !== '// prettier-ignore') {
lines.push(row);
}
} else if (row !== '// prettier-ignore') {
lines.push(row);
}
}
};
Expand Down

0 comments on commit 36fc22f

Please sign in to comment.