Skip to content

Commit

Permalink
chore: ensure changesets generated for dependabot pass prettier (#5325)
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin authored Mar 20, 2024
1 parent 9fd7eba commit 6d785dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ describe("writeChangeSet()", () => {
`".changeset/dependabot-update-1234.md"`
);
expect((writeFileSync as Mock).mock.lastCall[1]).toMatchInlineSnapshot(`
"
---
"---
"package-name": patch
---
chore: update dependencies of "@namespace/package" package
The following dependency versions have been updated:
Expand Down
2 changes: 1 addition & 1 deletion tools/dependabot/generate-dependabot-pr-changesets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export function writeChangeSet(
): void {
writeFileSync(
`.changeset/dependabot-update-${prNumber}.md`,
"\n" + changesetHeader + "\n" + commitMessage + "\n"
changesetHeader + "\n\n" + commitMessage + "\n"
);
}

Expand Down

0 comments on commit 6d785dc

Please sign in to comment.