Skip to content

.dependencies() will fail if it is called last on the chain #2

@dcrockwell

Description

@dcrockwell

This does not work:

        this.lambda
            .timeout(300)
            .filePath(handlerFilePath)
            .role(this.role())
            .dependencies("**/*", {
                basePath: this.temporaryDirectoryPath()
            });

This does work:

        this.lambda
            .dependencies("**/*", {
                basePath: this.temporaryDirectoryPath()
            })
            .timeout(300)
            .filePath(handlerFilePath)
            .role(this.role());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions