summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 22:37:11 -0600
committerJeff Carr <[email protected]>2024-12-01 22:37:11 -0600
commit425cb042b997e9243ea19ea82bfaa9ccce484a5c (patch)
treeabe18d2864d003a1b98a67dcf4ec8b84158573f3 /config.go
parentcfb5a7adc0c02ad4f5a46b212eab972f9a0d2917 (diff)
cleanup old codev0.0.17
Diffstat (limited to 'config.go')
-rw-r--r--config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.go b/config.go
index 3f4d976..e88a4a2 100644
--- a/config.go
+++ b/config.go
@@ -20,7 +20,7 @@ func (all *Repos) ConfigSave() error {
}
if all == nil {
log.Warn("gitpb all == nil")
- panic("why is this nil?")
+ return errors.New("gitpb.ConfigSave() all == nil")
}
data, err := all.Marshal()