From 147de1f4b8f569283da24ba48522eb18e3145445 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Thu, 30 Mar 2023 03:35:45 +0100 Subject: [PATCH] Disable upgrade warning --- src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.ts b/src/index.ts index 45b6fc3..cb6bde1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,6 +8,10 @@ import { printJson } from './printers/json'; import { notifySlack } from './printers/slack'; import { printPlainText } from './printers/text'; +// Suppress the maintenance mode message from the AWS SDK +// FIXME: Upgrade to aws-sdk v3 adn remove this +process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE = '1'; + const program = new Command(); program