Correct error messages to indicate ql pack storage path

This commit is contained in:
Elena Tanasoiu
2023-04-12 16:04:30 +00:00
parent e981530b20
commit 77bffd5bb1

View File

@@ -182,7 +182,7 @@ export class SkeletonQueryWizard {
private async determineNextFileName(folderName: string): Promise<string> { private async determineNextFileName(folderName: string): Promise<string> {
if (this.qlPackStoragePath === undefined) { if (this.qlPackStoragePath === undefined) {
throw new Error("Workspace storage path is undefined"); throw new Error("QL Pack storage path is undefined");
} }
const folderUri = Uri.file(join(this.qlPackStoragePath, folderName)); const folderUri = Uri.file(join(this.qlPackStoragePath, folderName));
@@ -196,7 +196,7 @@ export class SkeletonQueryWizard {
private async downloadDatabase() { private async downloadDatabase() {
if (this.qlPackStoragePath === undefined) { if (this.qlPackStoragePath === undefined) {
throw new Error("Workspace storage path is undefined"); throw new Error("QL Pack storage path is undefined");
} }
if (this.databaseStoragePath === undefined) { if (this.databaseStoragePath === undefined) {
@@ -238,7 +238,7 @@ export class SkeletonQueryWizard {
} }
if (this.qlPackStoragePath === undefined) { if (this.qlPackStoragePath === undefined) {
throw new Error("Workspace storage path is undefined"); throw new Error("QL Pack storage path is undefined");
} }
const databaseNwo = QUERY_LANGUAGE_TO_DATABASE_REPO[this.language]; const databaseNwo = QUERY_LANGUAGE_TO_DATABASE_REPO[this.language];