Skip to content

Commit

Permalink
fix let
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Jan 30, 2024
1 parent cf83ede commit 05486ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-toc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ writeStream.write('[//]: # (Auto-generated by scripts/generate-toc)\r\n');
// generate markdown for list item
function generateListItem(content, buffer) {
let indent = '';
for (const i = 0; i < buffer; i++) {
for (let i = 0; i < buffer; i++) {
indent += ' ';
}
return `${indent}- ${content}`;
Expand Down

0 comments on commit 05486ca

Please sign in to comment.