Skip to content

Commit 2c26b3d

Browse files
committed
fix(cli): compile error
1 parent 7a7be7f commit 2c26b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default new Command()
1818
let settings = await loadSettings();
1919

2020
if (options.logout) {
21-
settings.auth.apiKey = null;
21+
delete settings.auth.apiKey;
2222
await saveSettings(settings);
2323
}
2424
if (options.login) {

0 commit comments

Comments
 (0)