summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.go b/config.go
index 251adfe..59e395e 100644
--- a/config.go
+++ b/config.go
@@ -69,8 +69,8 @@ func (pb *Repos) SaveValidate(fname string) error {
}
return err
}
- config.SavePB(pb)
- return nil
+ err = config.Save(pb)
+ return err
}
// todo: move this to Marshal() functions automatically in autogenpb?