Stable version check

This commit is contained in:
Elio Struyf
2021-09-08 10:05:05 +02:00
parent 3941c33b1d
commit 2e743c896f
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -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"
}
]
}
+1 -1
View File
@@ -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;
}