mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-03 04:16:01 +02: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(
|
this._model.source.commit = branches.filter(
|
||||||
(f) => f.name == branch.name
|
(f) => f.name == branch.name
|
||||||
)[0]?.commit;
|
)[0]?.commit;
|
||||||
|
branch.commit = this._model.source.commit;
|
||||||
|
|
||||||
if (!this._model.source.commit) {
|
if (!this._model.source.commit) {
|
||||||
console.error(
|
console.error(
|
||||||
|
|||||||
Reference in New Issue
Block a user