Skip to content

Commit

Permalink
fix staticcheck issue
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfireman committed Apr 29, 2022
1 parent 23371c3 commit ae7db7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datapackage/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func read(path string) (string, []byte, error) {
}
return f.Name(), nil
}()
return localPath, buf, nil
return localPath, buf, err
}
buf, err := ioutil.ReadFile(path)
if err != nil {
Expand Down

0 comments on commit ae7db7d

Please sign in to comment.