Steps to reproduce:
yarn add --dev serverless-prune-plugin
// Add plugin to serverless file
sls prune -n 10 --stage {stage} --dryRun
All versions for all functions in file will be marked as selected for deletion. Running without --dryRun will delete all versions.
Environment Info:
Serverless: 2.4
yarn: 1.22.10
serverless-prune-plugin: ^2.0.1
Ubuntu: 20.04.2 LTS
Steps to reproduce:
yarn add --dev serverless-prune-plugin // Add plugin to serverless file sls prune -n 10 --stage {stage} --dryRunAll versions for all functions in file will be marked as selected for deletion. Running without
--dryRunwill delete all versions.Environment Info: