File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -620,13 +620,15 @@ export function allowHttp(): boolean {
620620 return ALLOW_HTTP_SETTING . getValue < boolean > ( ) || false ;
621621}
622622
623+ /**
624+ * Parent setting for all settings related to the "Create Query" command.
625+ */
626+ const CREATE_QUERY_COMMAND = new Setting ( "createQuery" , ROOT_SETTING ) ;
627+
623628/**
624629 * The name of the folder where we want to create QL packs.
625630 **/
626- const QL_PACK_LOCATION = new Setting (
627- "qlPackLocation" ,
628- new Setting ( "createQuery" , ROOT_SETTING ) ,
629- ) ;
631+ const QL_PACK_LOCATION = new Setting ( "qlPackLocation" , CREATE_QUERY_COMMAND ) ;
630632
631633export function getQlPackLocation ( ) : string | undefined {
632634 return QL_PACK_LOCATION . getValue < string > ( ) || undefined ;
@@ -641,7 +643,7 @@ export async function setQlPackLocation(folder: string | undefined) {
641643 **/
642644const AUTOGENERATE_QL_PACKS = new Setting (
643645 "autogenerateQlPacks" ,
644- new Setting ( "createQuery" , ROOT_SETTING ) ,
646+ CREATE_QUERY_COMMAND ,
645647) ;
646648
647649export function getAutogenerateQlPacks ( ) : string | undefined {
You can’t perform that action at this time.
0 commit comments