-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: get artifact and metafile paths from sls function object
Gets the paths to the metadata file and the zipped artifact from the FunctionDefinitionHandler object exposed by the Serverless API. This makes the plugin work correctly when e.g. the handler path is something like `src/myFunctionHandler.main`. Previously this was failing for me where e.g. the function name in Serverless was 'myFunction' but the file path was `myFunctionHandler.ts`.
- Loading branch information
Showing
1 changed file
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters