Skip to content
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

fix: adjust all artifact paths #192

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PerfectPixel
Copy link

As the plugin manipulates serverless.config.servicePath, artifact paths need to be adjusted so that the state file matches the folder structure.

However, as other plugins (like the warmup plugin) might create additional functions, their artifacts also need adjustment.

I changed the code, so that it does not try to adjust the paths based on the configuration but eagerly looks in all possible places for artifact paths and replaces them if they exist.

Resolves #125

@PerfectPixel PerfectPixel changed the title Adjust all artifact paths fix: adjust all artifact paths Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin does not work with serverless-plugin-warmup
1 participant