-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] All versions deleted regardless of -n flag #40
Comments
Hi @richardcook-brandlive — I am able to reproduce this issue. It worked as expected using the Framework + Plugin versions provided in a test project that I attempted. Can you provide additional clarity? Or perhaps if others also encounter this, we'll see additional comments on this issue. |
I'm having the same issue. I added the number to serverless.yml file as 3, but all the versions were deleted. |
I can also replicate this using "serverless-prune-plugin": "^2.0.1"
When running
Plugins
|
This is happening in serverless v3 as well. It prunes all layers no matter the number you indicate as to keep. |
Steps to reproduce:
All versions for all functions in file will be marked as selected for deletion. Running without
--dryRun
will delete all versions.Environment Info:
The text was updated successfully, but these errors were encountered: