Skip to content

Deploying functions with sub folders from Windows machines  #134

@ianscotland

Description

@ianscotland

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?

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