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:
2
jslib
2
jslib
Submodule jslib updated: 6b8508579f...8130fce404
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user