mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
Add newline at end of generated file content
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user