Skip to content

Commit

Permalink
fix: track new files
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Jul 11, 2023
1 parent f0432da commit d9b9e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export async function getNbGitDiff({
return parseInt(
(
await run(
`git diff --shortstat ${branch}${checkHead} -- ${path} | wc -l`,
`git add -N . && git diff --shortstat ${branch}${checkHead} -- ${path} | wc -l`,
{ cwd }
)
).trim(),
Expand Down

0 comments on commit d9b9e2d

Please sign in to comment.