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

Deploying functions with sub folders from Windows machines #134

Open
ianscotland opened this issue Oct 17, 2023 · 0 comments
Open

Deploying functions with sub folders from Windows machines #134

ianscotland opened this issue Oct 17, 2023 · 0 comments

Comments

@ianscotland
Copy link

We have a sidecar lambda function in node.js that has all files in a subfolder of /resources/lambda as recommended. Within that folder we also have a /templates folder with more node files as part of the project. When we deploy the sidecar package from a Mac we see the lambda function with the correct folder structure but when deploying the same package from a Windows machine all the files are placed in a __resources folder with no sub-folders (all files are place in the same __resources folder). I believe your deploy code is not handling the windows folder separator \ rather than / and this then causes the weird flattened structure. Do you have any advice (other than stop using windows - I wish!) or a fix?

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

No branches or pull requests

1 participant