From 521861b6510fd345c2b596e4ec9e9ef7be01ac10 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Wed, 12 Jan 2022 15:50:09 +0100 Subject: [PATCH] refactor(AWS Deploy): Improve custom resource generation log --- lib/plugins/aws/customResources/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/plugins/aws/customResources/index.js b/lib/plugins/aws/customResources/index.js index 872c33e3a..0a4581842 100644 --- a/lib/plugins/aws/customResources/index.js +++ b/lib/plugins/aws/customResources/index.js @@ -10,9 +10,8 @@ const generateZip = require('./generateZip'); const ServerlessError = require('../../../serverless-error'); const prepareCustomResourcePackage = _.memoize(async (zipFilePath) => { - // TODO: check every once in a while if external packages are still necessary - legacy.log('Installing dependencies for custom CloudFormation resources...'); - log.info('Installing dependencies for custom CloudFormation resources'); + legacy.log('Generating custom CloudFormation resources...'); + log.info('Generating custom CloudFormation resources'); return BbPromise.all([generateZip(), fse.mkdirs(path.dirname(zipFilePath))]) .then(([cachedZipFilePath]) => fse.copy(cachedZipFilePath, zipFilePath)) .then(() => path.basename(zipFilePath));