From 87f18ec798536e52ce12f1b0ba57a6ac7ba61ac0 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Mon, 12 Sep 2022 15:10:30 -0600 Subject: [PATCH] fix: correct spacing in markdown file --- src/commands/dev/generate/flag.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/dev/generate/flag.ts b/src/commands/dev/generate/flag.ts index c6affaf0..1e2408e4 100644 --- a/src/commands/dev/generate/flag.ts +++ b/src/commands/dev/generate/flag.ts @@ -321,7 +321,7 @@ export default class DevGenerateFlag extends SfCommand { private async updateMarkdownFile(commandName: string, flagName: string): Promise { const filePath = path.join('messages', `${commandName.split(':').join('.')}.md`); - await fs.appendFile(filePath, `# flags.${flagName}.summary\n\nDescription of ${flagName}.\n`); + await fs.appendFile(filePath, `\n# flags.${flagName}.summary\n\nDescription of ${flagName}.\n`); } private constructFlag(answers: Answers): string[] {