Rename schema file
This commit is contained in:
@@ -23,7 +23,7 @@ const packageFiles = [
|
||||
"snippets.json",
|
||||
"media",
|
||||
"out",
|
||||
"workspace-databases-schema.json",
|
||||
"databases-schema.json",
|
||||
];
|
||||
|
||||
async function copyDirectory(
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
"jsonValidation": [
|
||||
{
|
||||
"fileMatch": "workspace-databases.json",
|
||||
"url": "./workspace-databases-schema.json"
|
||||
"url": "./databases-schema.json"
|
||||
}
|
||||
],
|
||||
"languages": [
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user