Skip to content

Commit f40b48f

Browse files
Remove refs/head and add --no-pager
1 parent 4715b06 commit f40b48f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/check-versions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const packages = [
2121
'webdeployment-common',
2222
];
2323

24-
const gitDiffResult = execSync('git diff --name-only refs/head/main', { encoding: 'utf8' }).split('\n');
24+
const gitDiffResult = execSync('git --no-pager diff --name-only main', { encoding: 'utf8' }).split('\n');
2525
const changedFolders = new Set();
2626

2727
for (const filePath of gitDiffResult) {

0 commit comments

Comments
 (0)