From 5809801e22d2c524957a17fe9b8bb928c387468d Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 29 Oct 2024 11:24:33 -0800 Subject: [PATCH] No undefined token please --- src/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage.ts b/src/storage.ts index e0230a32..57d0b5a4 100644 --- a/src/storage.ts +++ b/src/storage.ts @@ -438,7 +438,7 @@ export class Storage { * Falsey URLs and null tokens are a no-op; we avoid unconfiguring the CLI to * avoid breaking existing connections. */ - public async configureCli(label: string, url: string | undefined, token: string | undefined | null) { + public async configureCli(label: string, url: string | undefined, token: string | null) { await Promise.all([this.updateUrlForCli(label, url), this.updateTokenForCli(label, token)]) }