@@ -99,7 +99,7 @@ export class DistributionManager implements DistributionProvider {
9999 */
100100 public async getCodeQlPathWithoutVersionCheck ( ) : Promise < string | undefined > {
101101 // Check config setting, then extension specific distribution, then PATH.
102- if ( this . _config . customCodeQlPath !== undefined ) {
102+ if ( this . _config . customCodeQlPath ) {
103103 if ( ! await fs . pathExists ( this . _config . customCodeQlPath ) ) {
104104 showAndLogErrorMessage ( `The CodeQL executable path is specified as "${ this . _config . customCodeQlPath } " ` +
105105 "by a configuration setting, but a CodeQL executable could not be found at that path. Please check " +
@@ -520,8 +520,11 @@ export enum FindDistributionResultKind {
520520 NoDistribution
521521}
522522
523- export type FindDistributionResult = CompatibleDistributionResult | UnknownCompatibilityDistributionResult |
524- IncompatibleDistributionResult | NoDistributionResult ;
523+ export type FindDistributionResult =
524+ | CompatibleDistributionResult
525+ | UnknownCompatibilityDistributionResult
526+ | IncompatibleDistributionResult
527+ | NoDistributionResult ;
525528
526529interface CompatibleDistributionResult {
527530 codeQlPath : string ;
@@ -551,8 +554,11 @@ export enum DistributionUpdateCheckResultKind {
551554 UpdateAvailable
552555}
553556
554- type DistributionUpdateCheckResult = AlreadyCheckedRecentlyResult | AlreadyUpToDateResult | InvalidLocationResult |
555- UpdateAvailableResult ;
557+ type DistributionUpdateCheckResult =
558+ | AlreadyCheckedRecentlyResult
559+ | AlreadyUpToDateResult
560+ | InvalidLocationResult
561+ | UpdateAvailableResult ;
556562
557563export interface AlreadyCheckedRecentlyResult {
558564 kind : DistributionUpdateCheckResultKind . AlreadyCheckedRecentlyResult ;
0 commit comments