mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-04 17:25:48 -05:00
Renames *.advanced.codeLens.debug to *.codeLens.debug
Renames *.advanced.debug to *.debug Renames *.output.level to *.outputLevel
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
import { ExtensionContext, OutputChannel, window, workspace } from 'vscode';
|
||||
import { IAdvancedConfig } from './configuration';
|
||||
import { IConfig } from './configuration';
|
||||
import { ExtensionKey } from './constants';
|
||||
import { Telemetry } from './telemetry';
|
||||
|
||||
@@ -19,11 +19,11 @@ let level: OutputLevel = OutputLevel.Silent;
|
||||
let output: OutputChannel;
|
||||
|
||||
function onConfigurationChanged() {
|
||||
const cfg = workspace.getConfiguration(ExtensionKey).get<IAdvancedConfig>('advanced');
|
||||
const cfg = workspace.getConfiguration().get<IConfig>(ExtensionKey);
|
||||
|
||||
if (cfg.debug !== debug || cfg.output.level !== level) {
|
||||
if (cfg.debug !== debug || cfg.outputLevel !== level) {
|
||||
debug = cfg.debug;
|
||||
level = cfg.output.level;
|
||||
level = cfg.outputLevel;
|
||||
|
||||
if (level === OutputLevel.Silent) {
|
||||
output && output.dispose();
|
||||
|
||||
Reference in New Issue
Block a user