зеркало из https://github.com/microsoft/docs-yaml.git
fix lint error
This commit is contained in:
Родитель
9eb4a78218
Коммит
171448375e
|
@ -25,7 +25,7 @@ export function sendTelemetryData(telemetryCommand: string, commandOption: strin
|
||||||
? { command_option: commandOption, repo_name: activeRepo }
|
? { command_option: commandOption, repo_name: activeRepo }
|
||||||
: { command_option: commandOption, repo_name: '' };
|
: { command_option: commandOption, repo_name: '' };
|
||||||
|
|
||||||
var config = workspace.getConfiguration('docsYaml');
|
const config = workspace.getConfiguration('docsYaml');
|
||||||
const enableTelemetry = config.get<boolean>('telemetry.enableTelemetry');
|
const enableTelemetry = config.get<boolean>('telemetry.enableTelemetry');
|
||||||
|
|
||||||
if (enableTelemetry) {
|
if (enableTelemetry) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче