summaryrefslogtreecommitdiff
path: root/save.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-12 05:41:34 -0500
committerJeff Carr <[email protected]>2025-10-12 05:41:34 -0500
commit10a8d81b1384b31a885f101b986726dfcd41a54a (patch)
tree1623c0beb3896ae089d1774b411678ce5657b4be /save.go
parentfa1cc5d28ea09cc70c6fbff7bfc65694624acd6d (diff)
wasn't setting Filename after Load()
Diffstat (limited to 'save.go')
-rw-r--r--save.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/save.go b/save.go
index 37a457e..78175bd 100644
--- a/save.go
+++ b/save.go
@@ -35,7 +35,7 @@ func SavePB(pb proto.Message, fullname string) error {
if strings.HasSuffix(fullname, ".json") {
return saveJSON(pb)
}
- return fmt.Errorf("unknown filetype %s", fullname)
+ return fmt.Errorf("unknown filetype '%s'", fullname)
}
func saveProto(pb proto.Message, fullname string) error {