Browse Source

Client & Version headers (#468)

pull/469/head
Oscar Hinton 4 years ago committed by GitHub
parent
commit
6b056d4f80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      jslib
  2. 3
      src/bw.ts

2
jslib

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit 6b8508579f89b4c54afa6aab2b7155aac70fb8a9
Subproject commit 8130fce40459d6597239eb283e1c8dfc28edb16f

3
src/bw.ts

@ -3,6 +3,7 @@ import * as fs from "fs"; @@ -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 { @@ -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

Loading…
Cancel
Save