You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where it clearly truncates the rest of the handler path after the dot.
This is especially critical in projects where compilation occurs and the target output path may contain dots and can't be controlled outside of the compilation tool.
The text was updated successfully, but these errors were encountered:
The bug is in the getFunctionOptions function in the functionHelper.js file. It searches for only the first dot in the handler path instead of the last dot. Very annoying, a fix would be highly appreciated. Thank you.
If a folder in the multi-folder path to a handler contains a dot the handler won't be found.
Example:
Running with:
SLS_DEBUG=* serverless offline --location /path/to/project/
Produces the logs:
Where it clearly truncates the rest of the handler path after the dot.
This is especially critical in projects where compilation occurs and the target output path may contain dots and can't be controlled outside of the compilation tool.
The text was updated successfully, but these errors were encountered: