Commit 0ea9e4ce authored by protolambda's avatar protolambda

fix Progress update

parent b16513aa
......@@ -18,6 +18,9 @@ type Progress struct {
}
func (pr *Progress) Update(outer Progress) (changed bool, err error) {
if outer.Origin.Number < pr.Origin.Number {
return false, nil
}
if pr.Closed {
if outer.Closed {
if pr.Origin != outer.Origin {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment