feat: make device option optional

main
Benjamin Bädorf 2023-10-10 22:02:03 +02:00
parent a66e3c9f80
commit cd6e1aa84c
No known key found for this signature in database
GPG Key ID: 4406E80E13CD656C
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ scan2paperless \\
const scanimageProcess = Deno.run({
cmd: [
"scanimage",
"-d", device,
...(device ? [ "-d", device, ] : []),
"--format=jpeg",
"--resolution", "300",
"--progress",