mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-07-05 17:31:22 +02:00
Stable version check
This commit is contained in:
Vendored
+6
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user