Add newline at end of generated file content

This commit is contained in:
Eric Olkowski
2024-03-03 10:50:22 -05:00
parent 7faf5806f0
commit ffe7f1484a
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ async function writeReadme(exercisePath) {
const { exerciseNumber, exerciseName } = splitDirectoryName(exercisePath);
const readmeContent = `# Exercise ${exerciseNumber} - ${exerciseName}
Description of the exercise goes here.`;
Description of the exercise goes here.
`;
await writeFile(join(exercisePath, "README.md"), readmeContent);
}