Remove dead 'sapling' branch in resolveVcsTerms

The VcsDriverKind type is 'git' | 'jj' | 'unknown', so the
kind === 'sapling' comparison could never be true at runtime.
Remove this unreachable dead code.
This commit is contained in:
Cursor Agent committed 2026-05-02 21:34:37 +00:00
1 parent 31fb1008c2
commit 00f33428b1
1 file changed
-7
-7
View File
@@ -40,13 +40,6 @@ export function resolveVcsTerms(kind: VcsDriverKind | null | undefined): VcsTerm
};
}
if (kind === "sapling") {
return {
...gitLikeTerms,
systemName: "Sapling",
};
}
if (kind === "git") {
return gitLikeTerms;
}