build: fix Chromium roll linting merge base determination in CI (#49937)

This commit is contained in:
David Sanders
2026-02-25 05:38:31 -08:00
committed by GitHub
parent d9170093aa
commit fd9bf54243

View File

@@ -124,7 +124,7 @@ async function main () {
// Get the merge base with the target branch
let mergeBase;
try {
mergeBase = execSync(`git merge-base ${currentBranch} origin/${targetBranch}`, {
mergeBase = execSync(`git merge-base HEAD origin/${targetBranch}`, {
cwd: ELECTRON_DIR,
encoding: 'utf8'
}).trim();