mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
Fix type errors
This commit is contained in:
1 file changed
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user