Fixed number of new lines added before description in readme
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user