mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-13 10:52:15 +01:00
if only one file, do not run merge command
This commit is contained in:
@@ -92,7 +92,7 @@ func (c *Converter) Convert() (string, error) {
|
||||
}
|
||||
}
|
||||
|
||||
if len(filesPaths) == 0 {
|
||||
if len(filesPaths) == 1 {
|
||||
return filesPaths[0], nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user