Skip to content

Commit d337928

Browse files
authored
ci(jscpd): show hint message on detection of clones aws#6737
## Problem There appears to be cases where the fix pushed here fails: aws#6572. ex: aws#6735 ## Solution - re-add the hint message for the case described here: aws#6564
1 parent 0dd14a1 commit d337928

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/filterDuplicates.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ async function run() {
111111
console.log('%s duplicates found', filteredDuplicates.length)
112112
if (filteredDuplicates.length > 0) {
113113
console.log(formatDuplicates(filteredDuplicates, commitHash, repoName))
114+
console.log(
115+
'* Hint: if these duplicates appear unrelated to the changes, rebase onto or merge in the latest target branch.'
116+
)
114117
process.exit(1)
115118
}
116119
}

0 commit comments

Comments
 (0)