From 9b2a2e739e2ee2bb5c9d1a9ef3b26b9a2ca5d135 Mon Sep 17 00:00:00 2001 From: Crawl Date: Sat, 10 Nov 2018 17:42:22 +0100 Subject: [PATCH] fix: _config to config access --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index d6323ee..fd741b9 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -38,7 +38,7 @@ export async function activate(context: ExtensionContext) { const enabler = commands.registerCommand('discord.enable', async () => { await rpc.dispose(); await config.update('enabled', true); - rpc._config = workspace.getConfiguration('discord'); + rpc.config = workspace.getConfiguration('discord'); rpc.statusBarIcon.text = '$(pulse) Connecting...'; rpc.statusBarIcon.show(); await rpc.login();