Skip to content

Commit d206003

Browse files
committed
Fix invalid variable reference
1 parent 26459de commit d206003

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

extensions/ql-vscode/src/config.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,11 @@ export function isCodespacesTemplate() {
611611

612612
const DATABASE_DOWNLOAD_SETTING = new Setting("databaseDownload", ROOT_SETTING);
613613

614-
export const ALLOW_HTTP_SETTING = new Setting("allowHttp", DATABASE_DOWNLOAD_SETTING);
614+
export const ALLOW_HTTP_SETTING = new Setting(
615+
"allowHttp",
616+
DATABASE_DOWNLOAD_SETTING,
617+
);
615618

616619
export function allowHttp(): boolean {
617-
return ALLOW_HTTP.getValue<boolean>() || false;
620+
return ALLOW_HTTP_SETTING.getValue<boolean>() || false;
618621
}

0 commit comments

Comments
 (0)