Fix type errors

This commit is contained in:
Alex Gleason committed 2025-10-29 16:42:08 -05:00
1 parent 579fb0d843
commit c9350aa8bd
1 file changed
+2 -2
+2 -2
View File
@@ -206,7 +206,7 @@ export class GitResetCommand implements GitSubcommand {
try {
currentBranch = await this.git.currentBranch({
dir: this.pwd,
});
}) || null;
} catch {
// Detached HEAD state
}
@@ -262,7 +262,7 @@ export class GitResetCommand implements GitSubcommand {
try {
currentBranch = await this.git.currentBranch({
dir: this.pwd,
});
}) || null;
} catch {
// Detached HEAD state
}