We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4629a1a commit d3a932bCopy full SHA for d3a932b
scripts/ci/utils.ts
@@ -30,9 +30,9 @@ export async function getNbGitDiff({
30
31
return parseInt(
32
(
33
- await run(`git add -N . && git diff --shortstat "${branch}${checkHead}" -- ${path} | wc -l`, {
+ (await run(`git add -N . && git diff --shortstat "${branch}${checkHead}" -- ${path} | wc -l`, {
34
cwd,
35
- })
+ })) || '0'
36
).trim(),
37
10,
38
);
0 commit comments