fix: address all remaining review findings on PR #14
- Fix doc comments: WithTimeout and WithTemperature each get their own - Add TestWithTimeout (verifies short timeout causes request failure) - Log warning on directory recursion failure in GetAllFilesInPath - Note: unexported fields is a breaking change, will document in release notes
This commit is contained in:
@@ -234,6 +234,7 @@ func (c *Client) GetAllFilesInPath(ctx context.Context, owner, repo, path string
|
||||
case "dir":
|
||||
subResults, err := c.GetAllFilesInPath(ctx, owner, repo, entry.Path)
|
||||
if err != nil {
|
||||
log.Printf("Warning: could not recurse into %s: %v", entry.Path, err)
|
||||
continue
|
||||
}
|
||||
for k, v := range subResults {
|
||||
|
||||
Reference in New Issue
Block a user