Skip to content

Commit 5809801

Browse files
committed
No undefined token please
1 parent f6769a3 commit 5809801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ export class Storage {
438438
* Falsey URLs and null tokens are a no-op; we avoid unconfiguring the CLI to
439439
* avoid breaking existing connections.
440440
*/
441-
public async configureCli(label: string, url: string | undefined, token: string | undefined | null) {
441+
public async configureCli(label: string, url: string | undefined, token: string | null) {
442442
await Promise.all([this.updateUrlForCli(label, url), this.updateTokenForCli(label, token)])
443443
}
444444

0 commit comments

Comments
 (0)