Skip to content

Commit

Permalink
Update jscpd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
patmmccann authored Jun 9, 2024
1 parent b41f33c commit 648d849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/jscpd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:
echo "Changed files: $CHANGED_FILES"
jq --argjson changed_files "$CHANGED_FILES" '
.duplicates | map(select(
($changed_files | index(.firstFile.name) // -1) >= 0 or
($changed_files | index(.secondFile.name) // -1) >= 0
any($changed_files[]; . == .firstFile.name) or
any($changed_files[]; . == .secondFile.name)
))
' ./jscpd-report.json > filtered-jscpd-report.json
cat filtered-jscpd-report.json
Expand Down

0 comments on commit 648d849

Please sign in to comment.