mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
e222cddabb
commit
aab5d40f93
24 files changed
+68
-74
No files matched your search
+1
-1
@@ -310,7 +310,7 @@ func Convert(ctx context.Context, input *Input, output io.Writer, options Conver
|
||||
if options.Pages == nil {
|
||||
_, err = editor.WriteToWithOptions(ctx, writer, WriteOptions{Compression: options.Compression})
|
||||
} else {
|
||||
_, err = editor.WritePagesToWithOptions(ctx, writer, indices, WriteOptions{Compression: options.Compression})
|
||||
_, err = editor.WritePagesTo(ctx, writer, indices, WriteOptions{Compression: options.Compression})
|
||||
}
|
||||
return report, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user