err msg
This commit is contained in:
@@ -79,7 +79,10 @@ func verifyRoot(root pttodo.Root) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func verifyFile(path string) 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 {
|
func edit(dry bool, filepath string) error {
|
||||||
|
|||||||
Reference in New Issue
Block a user