From f41db212ec2ad48b460183a9f00312eb623310fb Mon Sep 17 00:00:00 2001 From: matt korwel Date: Thu, 18 Sep 2025 11:19:43 -0700 Subject: [PATCH] fix linting (#8725) --- scripts/create-patch-pr.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/create-patch-pr.js b/scripts/create-patch-pr.js index 9ce351d31a..7e6ab84408 100644 --- a/scripts/create-patch-pr.js +++ b/scripts/create-patch-pr.js @@ -65,7 +65,11 @@ async function main() { // Check if there's already a PR for this branch try { - const prInfo = execSync(`gh pr list --head ${hotfixBranch} --json number,url --jq '.[0] // empty'`).toString().trim(); + const prInfo = execSync( + `gh pr list --head ${hotfixBranch} --json number,url --jq '.[0] // empty'`, + ) + .toString() + .trim(); if (prInfo && prInfo !== 'null' && prInfo !== '') { const pr = JSON.parse(prInfo); console.log(`Found existing PR #${pr.number}: ${pr.url}`); @@ -73,7 +77,9 @@ async function main() { return { existingBranch: hotfixBranch, existingPR: pr }; } else { console.log(`Hotfix branch ${hotfixBranch} exists but has no open PR.`); - console.log(`You may need to delete the branch and run this command again.`); + console.log( + `You may need to delete the branch and run this command again.`, + ); return { existingBranch: hotfixBranch }; } } catch (err) {