sinofseven / serverless-s3-remover

this is plugin of serverless, before "sls remove", this empties the s3 bucket.
MIT License
39 stars 11 forks source link

Fix the error this.serverless.variables.populateObject is not a function #26

Open ssignal opened 1 year ago

ssignal commented 1 year ago

Fix the below error

Error: TypeError: this.serverless.variables.populateObject is not a function at populateConfig (xxxxxxxx/node_modules/serverless-s3-remover/index.js:96:40)

mefengl commented 1 year ago

Hey @ssignal, I forked your repository and published a package based on your changes at https://github.com/ssignal/serverless-s3-remover. I hope it will be helpful.

The new repo is https://github.com/serverless-aws-plugin/serverless-s3-remover , can be installed by npm install @serverless-aws/serverless-s3-remover