feat: make device option optional
This commit is contained in:
parent
a66e3c9f80
commit
cd6e1aa84c
|
@ -73,7 +73,7 @@ scan2paperless \\
|
|||
const scanimageProcess = Deno.run({
|
||||
cmd: [
|
||||
"scanimage",
|
||||
"-d", device,
|
||||
...(device ? [ "-d", device, ] : []),
|
||||
"--format=jpeg",
|
||||
"--resolution", "300",
|
||||
"--progress",
|
||||
|
|
Loading…
Reference in a new issue