summaryrefslogtreecommitdiff
path: root/worker/secret.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-07-25 21:21:11 -0700
committerElizabeth Hunt <me@liz.coffee>2025-07-25 21:28:29 -0700
commitc5322996c19867f3e69aa201d2a4fae69cd99a19 (patch)
tree6da21bb1ebdf53ab33b52d2eadee7e80d64f3007 /worker/secret.ts
parent0c3131c650178c5265b9ebeb021c59c86427ae6e (diff)
downloadci-testci.tar.gz
ci-testci.zip
make jobtype a parameterized type; be smart about locking the vaulttestci
Diffstat (limited to 'worker/secret.ts')
-rw-r--r--worker/secret.ts2
1 files changed, 1 insertions, 1 deletions
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<TClient, TKey, TItemId> {
.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() },
}),