From d3379280c618a8171b4a1f42d5847ffe63656422 Mon Sep 17 00:00:00 2001 From: Hweinstock <42325418+Hweinstock@users.noreply.github.com> Date: Mon, 10 Mar 2025 16:03:59 -0400 Subject: [PATCH] ci(jscpd): show hint message on detection of clones #6737 ## Problem There appears to be cases where the fix pushed here fails: https://github.com/aws/aws-toolkit-vscode/pull/6572. ex: https://github.com/aws/aws-toolkit-vscode/pull/6735 ## Solution - re-add the hint message for the case described here: https://github.com/aws/aws-toolkit-vscode/pull/6564 --- .github/workflows/filterDuplicates.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/filterDuplicates.js b/.github/workflows/filterDuplicates.js index 2bb9d440cb5..148c8cf0ac0 100644 --- a/.github/workflows/filterDuplicates.js +++ b/.github/workflows/filterDuplicates.js @@ -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) } }