Update error message

This commit is contained in:
Robert
2023-03-24 10:23:30 +00:00
parent 1326c0a9dc
commit 091216f6fe

View File

@@ -29,7 +29,9 @@ export async function getActivatedExtension(): Promise<CodeQLExtensionInterface>
.getExtension<CodeQLExtensionInterface | undefined>("GitHub.vscode-codeql")
?.activate();
if (extension === undefined) {
throw new Error("Unable to active CodeQL extension");
throw new Error(
"Unable to active CodeQL extension. Make sure cli is downloaded and installed properly.",
);
}
return extension;
}