summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index e303214..3893087 100644
--- a/main.go
+++ b/main.go
@@ -99,12 +99,12 @@ func main() {
loop := me.repos.View.ReposSortByName()
for loop.Scan() {
repo := loop.Repo()
- if me.forge.Config.IsReadOnly(repo.GoPath()) {
+ if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
repo.Status.SetReadOnly(true)
} else {
repo.Status.SetReadOnly(false)
}
- if me.forge.Config.IsPrivate(repo.GoPath()) {
+ if me.forge.Config.IsPrivate(repo.GetGoPath()) {
repo.Status.SetPrivate(true)
} else {
repo.Status.SetPrivate(false)