From 2e743c896f15cd4786baf25504546ee4400fb67a Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Wed, 8 Sep 2021 10:05:05 +0200 Subject: [PATCH] Stable version check --- .vscode/settings.json | 6 ++++++ src/extension.ts | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 0cea6771..58e5ca2c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -23,5 +23,11 @@ "exportall.config.folderListener": [ "/src/pagesView/state/atom", "/src/pagesView/state/selectors" + ], + "frontMatter.content.pageFolders": [ + { + "title": "documentation", + "path": "[[workspace]]/docs/content/docs" + } ] } \ No newline at end of file diff --git a/src/extension.ts b/src/extension.ts index 822af9bd..b534d77f 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -27,7 +27,7 @@ export async function activate({ subscriptions, extensionUri, extensionPath, glo if (basename(globalStorageUri.fsPath) === EXTENSION_BETA_ID) { const mainVersion = vscode.extensions.getExtension(EXTENSION_ID); - if (!mainVersion) { + if (mainVersion) { Notifications.error(`Front Matter BETA cannot be used while the main version is installed. Please ensure that you have only over version installed.`); return undefined; }