fix: code block newline (#43600)

This commit is contained in:
Nicholas Carrigan (he/him)
2021-09-28 20:00:37 -07:00
committed by GitHub
parent a6c35c1b80
commit 02417bec07
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,7 @@ const { insertErms } = require('./insert-erms');
function getCodeBlock(label, content) {
return `\`\`\`${label}
${typeof content !== 'undefined' ? content : ''}
\`\`\``;
\`\`\`\n`;
}
// Builds a section
@ -72,7 +72,6 @@ ${stepDescription}
Test 1
${getCodeBlock('js')}
# --seed--` +
seedChallengeSection +
seedHeadSection +