Skip to content

Commit 2cde14c

Browse files
committed
chore: update
1 parent a302e0c commit 2cde14c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/app/server/utils/markdown.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const binCommands: Record<PackageManager, string> = {
1515
yarn: "npx",
1616
bun: "bunx",
1717
};
18+
const isMoreThanFourPackages = (packages: string[], packageManager: PackageManager) => packages.length * packageManager.split(',').length > 4;
1819

1920
export function generateCommitPublishMessage(
2021
origin: string,
@@ -68,8 +69,6 @@ ${shaMessages}
6869
`;
6970
}
7071

71-
const isMoreThanFourPackages = (packages: string[], packageManager: PackageManager) => packages.length * packageManager.split(',').length > 4;
72-
7372
export function generatePullRequestPublishMessage(
7473
origin: string,
7574
templates: Record<string, string>,
@@ -170,6 +169,6 @@ function createCollapsibleBlock(title: string, body: string) {
170169
<details><summary>${title}</summary><p>
171170
${body}
172171
</p></details>
173-
172+
174173
`;
175174
}

0 commit comments

Comments
 (0)