Compare commits

...

2 Commits

Author SHA1 Message Date
Benjamin Bädorf a66e3c9f80
fix: Fix outputdir arg 2023-08-29 10:39:16 +02:00
Benjamin Bädorf d5b2b8b31c
chore: Update nixpkgs 2023-08-29 10:39:08 +02:00
2 changed files with 4 additions and 4 deletions

View File

@ -134,11 +134,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1686412476,
"narHash": "sha256-inl9SVk6o5h75XKC79qrDCAobTD1Jxh6kVYTZKHzewA=",
"lastModified": 1693158576,
"narHash": "sha256-aRTTXkYvhXosGx535iAFUaoFboUrZSYb1Ooih/auGp0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "21951114383770f96ae528d0ae68824557768e81",
"rev": "a999c1cc0c9eb2095729d5aa03e0d8f7ed256780",
"type": "github"
},
"original": {

View File

@ -39,7 +39,7 @@ scan2paperless \\
const tempDir = await Deno.makeTempDir();
const device = args.d || args.device || Deno.env.get('SCANNER_DEFAULT_DEVICE');
const outputDir = args.d || args.device || Deno.env.get('SCANNER_OUTPUT_DIR');
const outputDir = args.o || args.outputDir || Deno.env.get('SCANNER_OUTPUT_DIR');
const outputName = args._[0] || getRandomString();
const pagesToScanStr = args.n || args.pages;