1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-06 04:23:19 +00:00

Client & Version headers (#468)

This commit is contained in:
Oscar Hinton
2022-02-08 15:29:22 +01:00
committed by GitHub
parent 220afb98c6
commit 6b056d4f80
2 changed files with 3 additions and 2 deletions

2
jslib

Submodule jslib updated: 6b8508579f...8130fce404

View File

@@ -3,6 +3,7 @@ import * as fs from "fs";
import * as jsdom from "jsdom";
import * as path from "path";
import { ClientType } from "jslib-common/enums/clientType";
import { KeySuffixOptions } from "jslib-common/enums/keySuffixOptions";
import { LogLevelType } from "jslib-common/enums/logLevelType";
@@ -122,7 +123,7 @@ export class Main {
}
this.i18nService = new I18nService("en", "./locales");
this.platformUtilsService = new CliPlatformUtilsService("cli", packageJson);
this.platformUtilsService = new CliPlatformUtilsService(ClientType.Cli, packageJson);
this.logService = new ConsoleLogService(
this.platformUtilsService.isDev(),
(level) => process.env.BITWARDENCLI_DEBUG !== "true" && level <= LogLevelType.Info