Skip to content

Commit

Permalink
Revert "cleanups"
Browse files Browse the repository at this point in the history
This reverts commit 8e698f2.
  • Loading branch information
dmihalcik-virtru committed Dec 16, 2024
1 parent 24b1e8e commit 38f597a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -553,15 +553,12 @@ export const handleArgs = (args: string[]) => {
log('SILLY', `Initialized client`);
log('DEBUG', `About to TDF3 decrypt [${argv.file}]`);
const ct = await client.read(await parseReadOptions(argv));
log('SILLY', `acquired read stream`);
const destination = argv.output ? createWriteStream(argv.output) : process.stdout;
log('SILLY', `acquired destination stream`);
try {
await ct.pipeTo(Writable.toWeb(destination));
} catch (e) {
log('ERROR', `Failed to pipe to destination stream: ${e}`);
}
log('SILLY', `piped to destination stream`);
const lastRequest = authProvider.requestLog[authProvider.requestLog.length - 1];
log('SILLY', `last request is ${JSON.stringify(lastRequest)}`);
let accessToken = null;
Expand Down

0 comments on commit 38f597a

Please sign in to comment.