Skip to content

Commit

Permalink
Update datasource/datasource.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ken’ichiro Oyama <[email protected]>
  • Loading branch information
kromiii and k1LoW authored May 6, 2024
1 parent 8d3286c commit b27e3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasource/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func AnalyzeGitHubContent(dsn config.DSN) (*schema.Schema, error) {
if err != nil {
return nil, errors.WithStack(err)
}
dec := json.NewDecoder(strings.NewReader(string(b)))
dec := json.NewDecoder(bytes.NewReader(b))
if err := dec.Decode(s); err != nil {
return s, errors.WithStack(err)
}
Expand Down

0 comments on commit b27e3ca

Please sign in to comment.