mirror of
https://github.com/bitwarden/clients.git
synced 2026-11-16 07:03:29 +00:00
Write warning to stderr instead of stdout, respect BW_QUIET
This commit is contained in:
@@ -44,9 +44,11 @@ export class ImportCommand {
|
||||
): Promise<Response> {
|
||||
const vfo1Enabled = await this.configService.getFeatureFlag(FeatureFlag.VFO1Foundation);
|
||||
|
||||
if (vfo1Enabled && options.organizationid) {
|
||||
if (vfo1Enabled && options.organizationid && process.env.BW_QUIET !== "true") {
|
||||
CliUtils.writeLn(
|
||||
"--organizationid is deprecated and will be removed in a future CLI release. Use --vaultid instead",
|
||||
false,
|
||||
true,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user