fix(thumb): libreoffice warning (#2358)
This commit is contained in:
@@ -71,7 +71,7 @@ func (l *LibreOfficeGenerator) Generate(ctx context.Context, es entitysource.Ent
|
|||||||
// Convert the document to an image
|
// Convert the document to an image
|
||||||
encode := l.settings.ThumbEncode(ctx)
|
encode := l.settings.ThumbEncode(ctx)
|
||||||
cmd := exec.CommandContext(ctx, l.settings.LibreOfficePath(ctx), "--headless",
|
cmd := exec.CommandContext(ctx, l.settings.LibreOfficePath(ctx), "--headless",
|
||||||
"-nologo", "--nofirststartwizard", "--invisible", "--norestore", "--convert-to",
|
"--nologo", "--nofirststartwizard", "--invisible", "--norestore", "--convert-to",
|
||||||
encode.Format, "--outdir", tempOutputPath, tempInputPath)
|
encode.Format, "--outdir", tempOutputPath, tempInputPath)
|
||||||
|
|
||||||
// Redirect IO
|
// Redirect IO
|
||||||
|
|||||||
Reference in New Issue
Block a user