Skip to content

Commit

Permalink
refactor(AWS Deploy): Improve custom resource generation log
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Jan 12, 2022
1 parent cc905c1 commit 521861b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/plugins/aws/customResources/index.js
Expand Up @@ -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));
Expand Down

0 comments on commit 521861b

Please sign in to comment.