style: formatted merge-pr script per biome

This commit is contained in:
can1357
2026-07-30 17:07:48 +02:00
parent 3803219716
commit b238713fad
+2 -1
View File
@@ -126,7 +126,8 @@ if (import.meta.main) {
.filter(Boolean);
if (subjects.length === 0) fail(`'${branch}' has no commits ahead of HEAD`);
const subject = subjects.find(isCompliantSubject);
if (!subject) fail(`no compliant commit subject in HEAD..${mergeRef}; the merge message cannot comply with the schema`);
if (!subject)
fail(`no compliant commit subject in HEAD..${mergeRef}; the merge message cannot comply with the schema`);
const message = `Merge PR #${meta.number}: ${subject} (@${meta.author.login})`;
if (dryRun) {