Update error message
This commit is contained in:
@@ -29,7 +29,9 @@ export async function getActivatedExtension(): Promise<CodeQLExtensionInterface>
|
|||||||
.getExtension<CodeQLExtensionInterface | undefined>("GitHub.vscode-codeql")
|
.getExtension<CodeQLExtensionInterface | undefined>("GitHub.vscode-codeql")
|
||||||
?.activate();
|
?.activate();
|
||||||
if (extension === undefined) {
|
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;
|
return extension;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user