From c5322996c19867f3e69aa201d2a4fae69cd99a19 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Fri, 25 Jul 2025 21:21:11 -0700 Subject: make jobtype a parameterized type; be smart about locking the vault --- worker/secret.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worker') diff --git a/worker/secret.ts b/worker/secret.ts index e533b16..241823d 100644 --- a/worker/secret.ts +++ b/worker/secret.ts @@ -104,7 +104,7 @@ export class Bitwarden implements IVault { .flatMap(TraceUtil.withMetricTrace(Bitwarden.lockVaultMetric)) .peek((tSession) => tSession.trace.trace(`taking care of locking the vault :3`)) .flatMap((tSession) => - tSession.move('bw lock').map((lockCmd) => + tSession.move('bw lock && bw logout').map((lockCmd) => getStdout(lockCmd, { env: { BW_SESSION: tSession.get() }, }), -- cgit v1.2.3-70-g09d2