Skip to content

Commit

Permalink
write: Pass opts parameter in DataSetToFile to write.Dataset (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
courteouselk authored Jul 20, 2020
1 parent 9d8d8d9 commit cbbb55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion write/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ func DataSetToFile(path string, ds *element.DataSet, opts ...Option) error {
if err != nil {
return err
}
if err := DataSet(out, ds); err != nil {
if err := DataSet(out, ds, opts...); err != nil {
out.Close()
return err
}
Expand Down

0 comments on commit cbbb55d

Please sign in to comment.