err msg
parent
fa812a16ee
commit
0241f2d76c
|
|
@ -79,7 +79,10 @@ func verifyRoot(root pttodo.Root) error {
|
|||
}
|
||||
|
||||
func verifyFile(path string) error {
|
||||
return dump(true, io.Discard, path, nil, "", DUMP_ALL)
|
||||
if err := dump(true, io.Discard, path, nil, "", DUMP_ALL); err != nil {
|
||||
return fmt.Errorf("failed verifying file %s: %w", path, err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func edit(dry bool, filepath string) error {
|
||||
|
|
|
|||
Loading…
Reference in New Issue