Fixed number of new lines added before description in readme

This commit is contained in:
Greg Jacobs
2024-06-06 04:23:49 -04:00
parent 8c28e761e0
commit 3f25aef4f2
2 changed files with 1 additions and 15 deletions

View File

@@ -26,7 +26,7 @@ fs.readdir(utilsDir, (err, files) => {
if (stats.isFile()) {
const fileContent = fs.readFileSync(filePath, 'utf8');
const description = getFileDescription(fileContent);
fileLinks.push(`## [${file}](${path.relative(resolvedPath, filePath)})\n\n${description}`);
fileLinks.push(`## [${file}](${path.relative(resolvedPath, filePath)})\n${description}`);
} else if (stats.isDirectory()) {
fileLinks.push(...readDirectory(filePath));
}