Write warning to stderr instead of stdout, respect BW_QUIET

This commit is contained in:
Mike Amirault
2026-11-13 17:26:21 -05:00
parent c534fa01de
commit c9fd840b6f

View File

@@ -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,
);
}