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.
1 parent 4a5b84d commit 8993516Copy full SHA for 8993516
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