Rename schema file

This commit is contained in:
Nora
2023-01-16 10:22:55 +00:00
parent 7f1bcedf9b
commit c19f58b0e3
4 changed files with 3 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ const packageFiles = [
"snippets.json",
"media",
"out",
"workspace-databases-schema.json",
"databases-schema.json",
];
async function copyDirectory(

View File

@@ -93,7 +93,7 @@
"jsonValidation": [
{
"fileMatch": "workspace-databases.json",
"url": "./workspace-databases-schema.json"
"url": "./databases-schema.json"
}
],
"languages": [

View File

@@ -12,10 +12,7 @@ export class DbConfigValidator {
private readonly schema: any;
constructor(extensionPath: string) {
const schemaPath = resolve(
extensionPath,
"workspace-databases-schema.json",
);
const schemaPath = resolve(extensionPath, "databases-schema.json");
this.schema = readJsonSync(schemaPath);
}