Skip to content

Commit

Permalink
refactor: Ensure to use legacy.log instead of cli.log
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Nov 5, 2021
1 parent 53490a5 commit ea05d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/aws/remove/lib/bucket.js
Expand Up @@ -36,7 +36,7 @@ module.exports = {
async listObjectVersions() {
this.objectsInBucket = [];

this.serverless.cli.log('Getting all objects in S3 bucket...');
legacy.log('Getting all objects in S3 bucket...');
const serviceStage = `${this.serverless.service.service}/${this.provider.getStage()}`;

const result = await this.provider.request('S3', 'listObjectVersions', {
Expand Down

0 comments on commit ea05d7c

Please sign in to comment.