Skip to content

Commit 928e999

Browse files
committed
refactor: move message to the end, make consistent with lint-commit
1 parent 52f1011 commit 928e999

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/filterDuplicates.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ async function run() {
110110
console.log('%s files changes', changes.size)
111111
console.log('%s duplicates found', filteredDuplicates.length)
112112
if (filteredDuplicates.length > 0) {
113+
console.log(formatDuplicates(filteredDuplicates, commitHash, repoName))
113114
console.log(
114-
'NOTE: if these duplicates appear unrelated to the changes, please rebased with the newest version of the target branch.'
115+
'*Hint: if these duplicates appear unrelated to the changes, please rebased with the newest version of the target branch.*'
115116
)
116-
console.log(formatDuplicates(filteredDuplicates, commitHash, repoName))
117117
process.exit(1)
118118
}
119119
}

0 commit comments

Comments
 (0)