File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ const fs = require('fs/promises')
22
33async function main ( ) {
44 console . log ( `In args with: ${ process . argv } ` )
5- const masterJson = ` ${ process . argv [ 2 ] } /jscpd-report.json`
6- const branchJson = ` ${ process . argv [ 3 ] } /jscpd-report.json`
5+ const masterJson = process . argv [ 2 ]
6+ const branchJson = process . argv [ 3 ]
77 console . log ( `master report located at ${ masterJson } ` )
88 console . log ( `branch report located at ${ branchJson } ` )
99
Original file line number Diff line number Diff line change 8181 npx jscpd --pattern "packages/**/*.ts" --ignore "**node_modules**,**dist**,**test**" --gitignore --reporters json --output branch
8282 - name : Compare clone count across master and new branch
8383 run : |
84- node "$GITHUB_WORKSPACE/.github/workflows/lintdupe.js" master.json branch.json
84+ node "$GITHUB_WORKSPACE/.github/workflows/lintdupe.js" master/jscpd-report .json branch/jscpd-report .json
8585
8686 macos :
8787 needs : lint-commits
You can’t perform that action at this time.
0 commit comments