diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-07-25 21:21:11 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-07-25 22:08:15 -0700 |
commit | b1efe258974f93616c98485f2bcfb8b999f0e4ad (patch) | |
tree | 41394a0e1c6a0d5e9a4692ab816c10b2fb2a6f74 /worker | |
parent | 0c3131c650178c5265b9ebeb021c59c86427ae6e (diff) | |
download | ci-b1efe258974f93616c98485f2bcfb8b999f0e4ad.tar.gz ci-b1efe258974f93616c98485f2bcfb8b999f0e4ad.zip |
make jobtype a parameterized type; be smart about locking the vault
Diffstat (limited to 'worker')
-rw-r--r-- | worker/secret.ts | 2 |
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() }, }), |