File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
extensions/ql-vscode/src/queries-panel Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import { CodeQLCliServer } from "../codeql-cli/cli" ;
22import { extLogger } from "../common" ;
3- import { App , AppMode } from "../common/app" ;
3+ import { App } from "../common/app" ;
44import { isCanary , showQueriesPanel } from "../config" ;
55import { DisposableObject } from "../pure/disposable-object" ;
66import { QueriesPanel } from "./queries-panel" ;
@@ -13,9 +13,9 @@ export class QueriesModule extends DisposableObject {
1313 }
1414
1515 private initialize ( app : App , cliServer : CodeQLCliServer ) : void {
16- if ( app . mode === AppMode . Production || ! isCanary ( ) || ! showQueriesPanel ( ) ) {
17- // Currently, we only want to expose the new panel when we are in development and canary mode
18- // and the developer has enabled the "Show queries panel" flag.
16+ if ( ! isCanary ( ) || ! showQueriesPanel ( ) ) {
17+ // Currently, we only want to expose the new panel when we are in canary mode
18+ // and the user has enabled the "Show queries panel" flag.
1919 return ;
2020 }
2121 void extLogger . log ( "Initializing queries panel." ) ;
You can’t perform that action at this time.
0 commit comments