summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-03 13:23:55 -0600
committerJeff Carr <[email protected]>2024-12-03 13:23:55 -0600
commit0fa1ea471fbc196b5f0af10f0a50ab93c35f92f9 (patch)
tree5d0ffb1682fb7759fb9c6d7faa37e2fdeb17d5c9 /main.go
parent135f1e5f427e6dc40d2f521038c042d9613f49a0 (diff)
smarter IsReadOnly() logic
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index cdc2a6d..c14aebd 100644
--- a/main.go
+++ b/main.go
@@ -110,7 +110,7 @@ func main() {
loop := me.repos.View.ReposSortByName()
for loop.Scan() {
repo := loop.Repo()
- if me.forge.IsReadOnly(repo.GoPath()) {
+ if me.forge.Config.IsReadOnly(repo.GoPath()) {
repo.Status.SetReadOnly(true)
} else {
repo.Status.SetReadOnly(false)