Skip to content

Commit

Permalink
No undefined token please
Browse files Browse the repository at this point in the history
  • Loading branch information
code-asher committed Oct 29, 2024
1 parent f6769a3 commit 5809801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)])
}

Expand Down

0 comments on commit 5809801

Please sign in to comment.