Skip to content

Commit 0213f40

Browse files
Update pkg/github/repository_resource.go
Co-authored-by: Copilot <[email protected]>
1 parent c699e24 commit 0213f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/repository_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func repositoryResourceContentsHandler(client *github.Client) func(ctx context.C
153153
if err != nil {
154154
return nil, fmt.Errorf("failed to read response body: %w", err)
155155
}
156-
return nil, fmt.Errorf("failed to get security analysis settings: %s", string(body))
156+
return nil, fmt.Errorf("failed to fetch file content: %s", string(body))
157157
}
158158

159159
ext := filepath.Ext(fileContent.GetName())

0 commit comments

Comments
 (0)