We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a5b84d + 8993516 commit 5e7c581Copy full SHA for 5e7c581
src/exec_auth.ts
@@ -29,7 +29,7 @@ export class ExecAuth implements Authenticator {
29
const cachedToken = this.tokenCache[user.name];
30
if (cachedToken) {
31
const date = Date.parse(cachedToken.status.expirationTimestamp);
32
- if (date < Date.now()) {
+ if (date > Date.now()) {
33
return `Bearer ${cachedToken.status.token}`;
34
}
35
this.tokenCache[user.name] = null;
0 commit comments