Skip to content

Commit

Permalink
Limit blank lines between original and generated (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavkj authored Feb 10, 2021
1 parent 1009835 commit 5ac6f18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion __tests__/generate.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ describe('Generate', () => {
# We might wanna keep an eye on something else, like yml files and workflows.
.github/workflows/ @myOrg/infraTeam
#################################### Generated content - do not edit! ####################################
# This block has been generated with codeowners-generator (for more information https://github.com/gagoar/codeowners-generator)
# To re-generate, run \`yarn codeowners-generator generate\`. Don't worry, the content outside this block will be kept.
Expand Down
3 changes: 2 additions & 1 deletion src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ export const contentTemplate = (
customRegenerationCommand?: string
): string => {
return stripIndents`
${originalContent && originalContent}
${originalContent && originalContent.trimEnd()}
${CONTENT_MARK}
${getContentLegend(customRegenerationCommand)}\n
${generatedContent}\n
Expand Down

0 comments on commit 5ac6f18

Please sign in to comment.