Skip to content

Commit

Permalink
ci(jscpd): show hint message on detection of clones #6737
Browse files Browse the repository at this point in the history
## Problem
There appears to be cases where the fix pushed here fails:
#6572.
ex: #6735
## Solution
- re-add the hint message for the case described here:
#6564
  • Loading branch information
Hweinstock authored Mar 10, 2025
1 parent 0dd14a1 commit d337928
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/filterDuplicates.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ async function run() {
console.log('%s duplicates found', filteredDuplicates.length)
if (filteredDuplicates.length > 0) {
console.log(formatDuplicates(filteredDuplicates, commitHash, repoName))
console.log(
'* Hint: if these duplicates appear unrelated to the changes, rebase onto or merge in the latest target branch.'
)
process.exit(1)
}
}
Expand Down

0 comments on commit d337928

Please sign in to comment.