mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 02:42:45 +00:00
fix: update branch current commit
This commit is contained in:
@@ -158,6 +158,7 @@ export default class Repository {
|
||||
this._model.source.commit = branches.filter(
|
||||
(f) => f.name == branch.name
|
||||
)[0]?.commit;
|
||||
branch.commit = this._model.source.commit;
|
||||
|
||||
if (!this._model.source.commit) {
|
||||
console.error(
|
||||
|
||||
Reference in New Issue
Block a user