fix(gsd): use debugLog in catch block to satisfy empty-catch lint
The compiled JS strips comments, so the catch body needs real code.
This commit is contained in:
parent
475bf6cd84
commit
d8c6bd99fa
1 changed files with 2 additions and 2 deletions
|
|
@ -2013,8 +2013,8 @@ export function mergeMilestoneToMain(
|
|||
let preTeardownBranch: string | null = null;
|
||||
try {
|
||||
preTeardownBranch = nativeGetCurrentBranch(worktreeCwd);
|
||||
} catch {
|
||||
// Branch detection failure is non-fatal — skip the auto-commit to be safe
|
||||
} catch (err) {
|
||||
debugLog("mergeMilestoneToMain", { phase: "pre-teardown-branch-detect-failed", error: String(err) });
|
||||
}
|
||||
const isOnMilestoneBranch = preTeardownBranch === milestoneBranch;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue