mirror of
https://github.com/rclone/rclone.git
synced 2026-10-01 10:15:37 -04:00
build: restore error handling in gendocs
This commit is contained in:
1 parent
43a794860f
commit
fa2bbd705c
1 file changed
+1
-2
@@ -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