Skip to content

[Bug] All versions deleted regardless of -n flag #40

Description

@richardcook-brandlive

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions