From e8fd2bee45b35d9cbd49b4e049769f03c4e42671 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Mon, 4 Oct 2021 17:08:44 +0200 Subject: [PATCH] refactor(AWS Deploy): Handle main progress directly --- lib/plugins/aws/lib/monitorStack.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/plugins/aws/lib/monitorStack.js b/lib/plugins/aws/lib/monitorStack.js index bdf304ebf..e2f4aba9f 100644 --- a/lib/plugins/aws/lib/monitorStack.js +++ b/lib/plugins/aws/lib/monitorStack.js @@ -7,6 +7,7 @@ const identity = require('ext/function/identity'); const ServerlessError = require('../../../serverless-error'); const { log, legacy, progress, style } = require('@serverless/utils/log'); +const mainProgress = progress.get('main'); const validStatuses = new Set(['CREATE_COMPLETE', 'UPDATE_COMPLETE', 'DELETE_COMPLETE']); const normalizerPattern = /(?