summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-19 18:25:37 -0600
committerJeff Carr <[email protected]>2024-01-19 18:25:37 -0600
commite3cc044efc879682911c8f62f77d07ca7c49b7e9 (patch)
tree97d94fe328e551acc495a3cd4df0fa004087d362 /common.go
parente7257a919d75f63a27ef291f1e59a802a8a285cd (diff)
works again
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'common.go')
-rw-r--r--common.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/common.go b/common.go
index 0ec5cb8..f2536a1 100644
--- a/common.go
+++ b/common.go
@@ -11,11 +11,8 @@ func (rs *RepoStatus) Changed() bool {
if !rs.Ready() {
return false
}
- if rs.changed {
- rs.changed = false
- return true
- }
- return false
+
+ return rs.changed
}
func (rs *RepoStatus) Draw() {