Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Commit 2de1014

Browse files
committed
fix: multiple hotfixes
1 parent 3dfefea commit 2de1014

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export SSH_AUTH_SOCK=~/.ssh/s-bit-agent.sock
2121

2222
```bash
2323
s-bit-agent --help
24-
s-bit-agent bw " --help"
25-
s-bit-agent bwa " --help" # the wrapper will take care about the session creation
24+
s-bit-agent bw -- --help
25+
s-bit-agent bwa -- --help # the wrapper will take care about the session creation
2626
s-bit-agent status
2727
```

src/cli/bwa.command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ export class BwaCommand extends CommandRunner {
2525
if (!session)
2626
this.logService.fatal('Session request got rejected. Please try again.');
2727
this.bitwardenService.enableLogging();
28-
this.bitwardenService.run(session, ...params.join(' ').split(' '));
28+
this.bitwardenService.run(session, ...params);
2929
}
3030
}

src/key/agent.service.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class AgentService {
7676
this.client,
7777
Buffer.from([0, 0, 0, 1, MessageType.SSH_AGENT_FAILURE]),
7878
);
79-
});
79+
}, this.timeout);
8080
try {
8181
let token: string | null = null;
8282
switch (messageType) {
@@ -246,6 +246,8 @@ export class AgentService {
246246
this.client,
247247
Buffer.from([0, 0, 0, 1, MessageType.SSH_AGENT_FAILURE]),
248248
);
249+
} finally {
250+
clearTimeout(timeoutT);
249251
}
250252
}
251253

0 commit comments

Comments
 (0)