mirror of
https://github.com/rclone/rclone.git
synced 2025-12-28 14:13:28 +00:00
build: restore error handling in gendocs
This commit is contained in:
@@ -169,8 +169,7 @@ rclone.org website.`,
|
||||
name := filepath.Base(path)
|
||||
cmd, ok := commands[name]
|
||||
if !ok {
|
||||
//return fmt.Errorf("didn't find command for %q", name)
|
||||
return nil
|
||||
return fmt.Errorf("didn't find command for %q", name)
|
||||
}
|
||||
b, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user