mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: fix Chromium roll linting merge base determination in CI (#49937)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user