mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
Release v0.7.1
This commit is contained in:
1 parent
b0f67c6328
commit
b022b0a2c5
3 files changed
+31
-1
No files matched your search
@@ -31,6 +31,7 @@ export class GitBranchService {
|
||||
const currentStdout = await executeCommand(['git', '-C', fullPath, 'rev-parse', '--abbrev-ref', 'HEAD'], { env, silent: true })
|
||||
currentBranch = currentStdout.trim()
|
||||
} catch {
|
||||
void null
|
||||
}
|
||||
|
||||
const stdout = await executeCommand(['git', '-C', fullPath, 'branch', '-vv', '-a'], { env, silent: true })
|
||||
@@ -75,6 +76,7 @@ export class GitBranchService {
|
||||
branch.ahead = status.ahead
|
||||
branch.behind = status.behind
|
||||
} catch {
|
||||
void null
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user