Skip to content

Commit

Permalink
Merge pull request #85 from j4k0xb/fix/cli-encrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeyax authored Jan 31, 2025
2 parents 2c91d08 + 95e1fa5 commit 37fd3ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/asarmor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ async function main() {
});
}

const asarmor = await open(options.archive);
const asarmor = await open(
options.encryption ? options.output : options.archive
);

if (options.restore) {
await asarmor.restoreBackup();
Expand Down

0 comments on commit 37fd3ac

Please sign in to comment.