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 d3a932b commit 21d548cCopy full SHA for 21d548c
scripts/ci/utils.ts
@@ -1,3 +1,4 @@
1
+/* eslint-disable no-console */
2
import fsp from 'fs/promises';
3
import { resolve } from 'path';
4
@@ -28,6 +29,8 @@ export async function getNbGitDiff({
28
29
}>): Promise<number> {
30
const checkHead = head === null ? '' : `...${head}`;
31
32
+ console.log(`comparing "${branch}${checkHead}"`);
33
+
34
return parseInt(
35
(
36
(await run(`git add -N . && git diff --shortstat "${branch}${checkHead}" -- ${path} | wc -l`, {
0 commit comments